rpms/kernel/devel linux-2.6-pnfs-compile.patch, NONE, 1.1.10.2 linux-2.6.34-inline.patch, NONE, 1.1.2.1 pnfs-all-2.6.34-2010-07-01.patch, NONE, 1.1.2.1 config-generic, 1.369, 1.369.4.1 kernel.spec, 1.2036, 1.2036.2.1
Steve Dickson
steved at fedoraproject.org
Thu Jul 1 21:16:06 UTC 2010
Author: steved
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26822
Modified Files:
Tag: private-pnfs-all-2_6_34-2010-07-01
config-generic kernel.spec
Added Files:
Tag: private-pnfs-all-2_6_34-2010-07-01
linux-2.6-pnfs-compile.patch linux-2.6.34-inline.patch
pnfs-all-2.6.34-2010-07-01.patch
Log Message:
- Updated to the latest pNFS bits: pnfs-all-2.6.34-2010-07-01
linux-2.6-pnfs-compile.patch:
inet_connection_sock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE linux-2.6-pnfs-compile.patch ---
diff -up linux-2.6.32.x86_64/fs/nfs/objlayout/pnfs_osd_xdr.h.orig linux-2.6.32.x86_64/fs/nfs/objlayout/pnfs_osd_xdr.h
diff -up linux-2.6.32.x86_64/include/net/inet_connection_sock.h.orig linux-2.6.32.x86_64/include/net/inet_connection_sock.h
--- linux-2.6.32.x86_64/include/net/inet_connection_sock.h.orig 2009-12-02 22:51:21.000000000 -0500
+++ linux-2.6.32.x86_64/include/net/inet_connection_sock.h 2010-04-21 14:26:24.475659551 -0400
@@ -23,7 +23,7 @@
#include <net/inet_sock.h>
#include <net/request_sock.h>
-#define INET_CSK_DEBUG 1
+//#define INET_CSK_DEBUG 1
/* Cancel timers, when they are not required. */
#undef INET_CSK_CLEAR_TIMERS
linux-2.6.34-inline.patch:
Makefile | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE linux-2.6.34-inline.patch ---
diff -up linux-2.6.33.noarch/arch/x86/Makefile.orig linux-2.6.33.noarch/arch/x86/Makefile
--- linux-2.6.33.noarch/arch/x86/Makefile.orig 2010-07-01 15:43:25.288742566 -0400
+++ linux-2.6.33.noarch/arch/x86/Makefile 2010-07-01 15:44:33.679607300 -0400
@@ -81,6 +81,7 @@ ifdef CONFIG_CC_STACKPROTECTOR
$(warning stack protector enabled but no compiler support)
endif
endif
+KBUILD_CFLAGS += -fno-inline-functions-called-once
# Don't unroll struct assignments with kmemcheck enabled
ifeq ($(CONFIG_KMEMCHECK),y)
pnfs-all-2.6.34-2010-07-01.patch:
b/Documentation/filesystems/spnfs.txt | 211 +++
b/Makefile | 2
b/block/genhd.c | 1
b/drivers/md/dm-ioctl.c | 24
b/drivers/scsi/hosts.c | 2
b/fs/Kconfig | 25
b/fs/exofs/Kbuild | 1
b/fs/exofs/Kconfig | 1
b/fs/exofs/exofs.h | 26
b/fs/exofs/export.c | 396 +++++
b/fs/exofs/inode.c | 3
b/fs/exofs/super.c | 1
b/fs/exportfs/Makefile | 5
b/fs/exportfs/expfs.c | 7
b/fs/exportfs/nfs4blocklayoutxdr.c | 158 ++
b/fs/exportfs/nfs4filelayoutxdr.c | 218 +++
b/fs/exportfs/pnfs_osd_xdr_srv.c | 289 ++++
b/fs/gfs2/ops_fstype.c | 4
b/fs/nfs/Kconfig | 40
b/fs/nfs/Makefile | 7
b/fs/nfs/blocklayout/Makefile | 6
b/fs/nfs/blocklayout/blocklayout.c | 1186 ++++++++++++++++
b/fs/nfs/blocklayout/blocklayout.h | 280 +++
b/fs/nfs/blocklayout/blocklayoutdev.c | 721 ++++++++++
b/fs/nfs/blocklayout/blocklayoutdm.c | 337 ++++
b/fs/nfs/blocklayout/extents.c | 948 +++++++++++++
b/fs/nfs/callback.h | 35
b/fs/nfs/callback_proc.c | 255 +++
b/fs/nfs/callback_xdr.c | 160 ++
b/fs/nfs/client.c | 46
b/fs/nfs/direct.c | 229 ++-
b/fs/nfs/file.c | 48
b/fs/nfs/inode.c | 75 +
b/fs/nfs/internal.h | 36
b/fs/nfs/nfs3proc.c | 1
b/fs/nfs/nfs4_fs.h | 4
b/fs/nfs/nfs4filelayout.c | 779 +++++++++++
b/fs/nfs/nfs4filelayout.h | 107 +
b/fs/nfs/nfs4filelayoutdev.c | 649 +++++++++
b/fs/nfs/nfs4proc.c | 653 +++++++++
b/fs/nfs/nfs4renewd.c | 2
b/fs/nfs/nfs4state.c | 24
b/fs/nfs/nfs4xdr.c | 957 +++++++++++++
b/fs/nfs/objlayout/Kbuild | 11
b/fs/nfs/objlayout/objio_osd.c | 1088 +++++++++++++++
b/fs/nfs/objlayout/objlayout.c | 797 +++++++++++
b/fs/nfs/objlayout/objlayout.h | 163 ++
b/fs/nfs/objlayout/panfs_shim.c | 735 ++++++++++
b/fs/nfs/objlayout/panfs_shim.h | 482 ++++++
b/fs/nfs/objlayout/pnfs_osd_xdr_cli.c | 435 ++++++
b/fs/nfs/pagelist.c | 13
b/fs/nfs/pnfs.c | 2387 ++++++++++++++++++++++++++++++++++
b/fs/nfs/pnfs.h | 382 +++++
b/fs/nfs/proc.c | 1
b/fs/nfs/read.c | 101 +
b/fs/nfs/super.c | 25
b/fs/nfs/write.c | 259 ++-
b/fs/nfsd/Kconfig | 49
b/fs/nfsd/Makefile | 4
b/fs/nfsd/bl_com.c | 292 ++++
b/fs/nfsd/bl_ops.c | 1672 +++++++++++++++++++++++
b/fs/nfsd/export.c | 106 +
b/fs/nfsd/nfs4callback.c | 418 +++++
b/fs/nfsd/nfs4pnfsd.c | 1681 +++++++++++++++++++++++
b/fs/nfsd/nfs4pnfsdlm.c | 461 ++++++
b/fs/nfsd/nfs4pnfsds.c | 620 ++++++++
b/fs/nfsd/nfs4proc.c | 410 +++++
b/fs/nfsd/nfs4state.c | 236 ++-
b/fs/nfsd/nfs4xdr.c | 538 +++++++
b/fs/nfsd/nfsctl.c | 107 +
b/fs/nfsd/nfsd.h | 8
b/fs/nfsd/nfsfh.c | 7
b/fs/nfsd/nfsfh.h | 39
b/fs/nfsd/nfssvc.c | 2
b/fs/nfsd/pnfsd.h | 143 ++
b/fs/nfsd/pnfsd_lexp.c | 225 +++
b/fs/nfsd/spnfs_com.c | 535 +++++++
b/fs/nfsd/spnfs_ops.c | 878 ++++++++++++
b/fs/nfsd/state.h | 76 +
b/fs/nfsd/vfs.c | 74 +
b/fs/nfsd/xdr4.h | 54
b/include/linux/exp_xdr.h | 141 ++
b/include/linux/exportfs.h | 59
b/include/linux/fs.h | 2
b/include/linux/nfs4.h | 60
b/include/linux/nfs4_pnfs.h | 362 +++++
b/include/linux/nfs_fs.h | 40
b/include/linux/nfs_fs_sb.h | 23
b/include/linux/nfs_iostat.h | 3
b/include/linux/nfs_page.h | 9
b/include/linux/nfs_xdr.h | 43
b/include/linux/nfsd/const.h | 1
b/include/linux/nfsd/debug.h | 2
b/include/linux/nfsd/export.h | 1
b/include/linux/nfsd/nfs4layoutxdr.h | 132 +
b/include/linux/nfsd/nfs4pnfsdlm.h | 54
b/include/linux/nfsd/nfsd4_pnfs.h | 271 +++
b/include/linux/nfsd/syscall.h | 8
b/include/linux/nfsd4_block.h | 101 +
b/include/linux/nfsd4_spnfs.h | 345 ++++
b/include/linux/panfs_shim_api.h | 57
b/include/linux/pnfs_osd_xdr.h | 440 ++++++
b/include/linux/pnfs_xdr.h | 139 +
b/include/linux/posix_acl.h | 1
b/include/linux/sunrpc/msg_prot.h | 2
b/include/linux/sunrpc/rpc_pipe_fs.h | 1
b/include/linux/sunrpc/svc_xprt.h | 37
b/include/linux/sunrpc/xdr.h | 8
b/net/sunrpc/backchannel_rqst.c | 2
b/net/sunrpc/xdr.c | 35
fs/exofs/pnfs.h | 45
111 files changed, 26524 insertions(+), 373 deletions(-)
--- NEW FILE pnfs-all-2.6.34-2010-07-01.patch ---
diff --git a/Documentation/filesystems/spnfs.txt b/Documentation/filesystems/spnfs.txt
new file mode 100644
index 0000000..e1d2864
--- /dev/null
+++ b/Documentation/filesystems/spnfs.txt
@@ -0,0 +1,211 @@
+(c) 2007 Network Appliance Inc.
+
+spNFS
+-----
+
+An spNFS system consists of a Meta Data Server (MDS), a number of Client machines (C) and a number of Data Servers (DS).
+
+A file system is mounted by the clients from the MDS, and all file data
+is striped across the DSs.
+
+Identify the machines that will be filling each of these roles.
+
+The spnfs kernel will be installed on all machines: clients, the MDS and DSs.
+
+
+Building and installing the spNFS kernel
+----------------------------------------
+
+Get the spNFS kernel from:
+
+ git://linux-nfs.org/~bhalevy/linux-pnfs.git
+
+Use the pnfs-all-latest branch and add these options to your .config file
+
+ CONFIG_NETWORK_FILESYSTEMS=y
+ CONFIG_NFS_FS=m
+ CONFIG_NFS_V4=y
+ CONFIG_NFS_V4_1=y
+ CONFIG_PNFS=y
+ CONFIG_NFSD=m
+ CONFIG_PNFSD=y
+ # CONFIG_PNFSD_LOCAL_EXPORT is not set
+ CONFIG_SPNFS=y
+
+By default, spNFS uses whole-file layouts. Layout segments can be enabled
+by adding:
+
+ CONFIG_SPNFS_LAYOUTSEGMENTS=y
+
+to your .config file.
+
+Building and installation of kernel+modules is as usual.
+This kernel should be installed and booted on the client, MDS and DSs.
+
+Note that CONFIG_PNFSD_LOCAL_EXPORT must be disabled for spnfs as it
+takes over the pnfs export interface.
+
+Building nfs-utils
+------------------
+
+Get the nfs-utils package containing spnfsd from:
+
+ git://linux-nfs.org/~bhalevy/pnfs-nfs-utils.git
+
+Follow the standard instructions for building nfs-utils.
+
+After building, the spnfsd daemon will be located in utils/spnfsd. The spnfsd
+daemon will only be needed on the MDS.
+
+
+Installation
+------------
+
+The nfs-utils package contains a default spnfsd.conf file in
+utils/spnfsd/spnfsd.conf. Copy this file to /etc/spnfsd.conf.
+
+By default, the DS-Mount-Directory is set to /spnfs (see spnfsd.conf). Under
+this directory, mount points must be created for each DS to
+be used for pNFS data stripes. These mount points are named by the ip address
+of the corresponding DS. In the sample spnfsd.conf, there are two
+DSs defined (172.16.28.134 and 172.16.28.141).
+
+Following the sample spnfsd.conf,
+
+ mkdir /spnfs
+
+on the MDS (corresponding to DS-Mount-Directory). Then
+
+ mkdir /spnfs/172.16.28.134
+ mkdir /spnfs/172.16.28.141
+
+to create the mount points for the DSs.
+
+On the DSs, chose a directory where data stripes will be created by the MDS.
+For the sample file, this directory is /pnfs, so on each DS execute:
+
+ mkdir /pnfs
+
+This directory is specified in the spnfsd.conf file by the DS*_ROOT option
+(where * is replaced by the DS number). DS_ROOT is specified relative to
+the directory being exported by the DSs. In our example, our DSs are exporting
+the root directory (/) and therefore our DS_ROOT is /pnfs. On the DSs, we have
+the following entry in /etc/exports:
+
+ / *(rw,fsid=0,insecure,no_root_squash,sync,no_subtree_check)
+
+N.B. If we had created a /exports directory and a /pnfs directory under
+/exports, and if we were exporting /exports, then DS_ROOT would still be /pnfs
+(not /exports/pnfs).
+
+It may be useful to add entries to /etc/fstab on the MDS to automatically
+mount the DS_ROOT file systems. For this example, our MDS fstab would
+contain:
+
+ 172.17.84.128:/pnfs /spnfs/172.17.84.128 nfs defaults 1 2
+ 172.17.84.122:/pnfs /spnfs/172.17.84.122 nfs defaults 1 2
+
+The DS mounts must be performed manually or via fstab at this time (automatic
+mounting, directory creation, etc. are on the todo list). To perform I/O
+through the MDS, the DS mounts MUST use NFSv3 at this time (this restriction
+will eventually be removed).
+
+
+On the MDS, choose a file system to use with spNFS and export it, e.g.:
+
+ / *(rw,fsid=0,insecure,no_root_squash,sync,no_subtree_check,pnfs)
+
+Make sure nfsd and all supporting processes are running on the MDS and DSs.
+
+
+Running
+-------
+
+If rpc_pipefs is not already mounted (if you're running idmapd it probably is),
+you may want to add the following line to /etc/fstab:
+
+ rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0
+
+to automatically mount rpc_pipefs.
+
+With spnfsd.conf configured for your environment and the mounts mounted as
+described above, spnfsd can now be started.
+
+On the MDS, execute spnfsd:
+
+ spnfsd
+
+The executable is located in the directory where it was built, and
+may also have been installed elsewhere depending on how you built nfs-utils.
+It will run in the foreground by default, and in fact will do so despite
+any options suggesting the contrary (it's still a debugging build).
+
+On the client, make sure the nfslayoutdriver module is loaded:
+
+ modprobe nfslayoutdriver
+
+Then mount the file system from the MDS:
+
+ mount -t nfs4 -o minorversion=1 mds:/ /mnt
+
+I/O through the MDS is now supported. To use it, do not load the
+nfslayoutdriver on the client, and mount the MDS using NFSv4 or 4.1
+(NFSv2 and v3 are not yet supported).
+
+You may now use spNFS by performing file system activities in /mnt.
+If you create files in /mnt, you should see stripe files corresponding to
+new files being created on the DSs. The current implementation names the
+stripe files based on the inode number of the file on the MDS. For example,
+if you create a file foo in /mnt and do an 'ls -li /mnt/foo':
+
+ # ls -li foo
+ 1233 -rw-r--r-- 1 root root 0 Nov 29 15:54 foo
+
+You should see stripe files on each under /pnfs (per the sample) named
+1233. The file /pnfs/1233 on DS1 will contain the first <stripe size> bytes
+of data written to foo, DS2 will contain the next <stripe size> bytes, etc.
+Removing /mnt/foo will remove the corresponding stripe files on the DSs.
+Other file system operations should behave (mostly :-) as expected.
+
+
+Layout Segments
+---------------
+
+If the kernel is compiled to support layout segments, there will
+be two files created under /proc/fs/spnfs for controlling layout
+segment functionality.
+
+To enable layout segments, write a '1' to /proc/fs/spnfs/layoutseg, e.g.:
+
+ echo 1 > /proc/fs/spnfs/layoutseg
+
+Layout segments can be disabled (returning to whole-file layouts) by
+writing a '0' to /proc/fs/spnfs/layoutseg:
+
+ echo 0 > /proc/fs/spnfs/layoutseg
+
+When layout segments are enabled, the size of the layouts returned can
+be specified by writing a decimal number (ascii representation) to
+/proc/fs/spnfs/layoutsegsize:
+
+ echo 1024 > /proc/fs/spnfs/layoutsegsize
+
+The value'0' has a special meaning--it causes the server to return a
[...29663 lines suppressed...]
+
+struct nfs4_pnfs_getdevicelist_arg {
+ const struct nfs_fh *fh;
+ u32 layoutclass;
+ struct nfs4_sequence_args seq_args;
+};
+
+struct nfs4_pnfs_getdevicelist_res {
+ struct pnfs_devicelist *devlist;
+ struct nfs4_sequence_res seq_res;
+};
+
+struct nfs4_pnfs_getdeviceinfo_arg {
+ struct pnfs_device *pdev;
+ struct nfs4_sequence_args seq_args;
+};
+
+struct nfs4_pnfs_getdeviceinfo_res {
+ struct pnfs_device *pdev;
+ struct nfs4_sequence_res seq_res;
+};
+
+#endif /* LINUX_PNFS_XDR_H */
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h
index 6760816..fc3d2fc 100644
--- a/include/linux/posix_acl.h
+++ b/include/linux/posix_acl.h
@@ -8,6 +8,7 @@
#ifndef __LINUX_POSIX_ACL_H
#define __LINUX_POSIX_ACL_H
+#include <linux/fs.h>
#include <linux/slab.h>
#define ACL_UNDEFINED_ID (-1)
diff --git a/include/linux/sunrpc/msg_prot.h b/include/linux/sunrpc/msg_prot.h
index 77e6248..1b26fff 100644
--- a/include/linux/sunrpc/msg_prot.h
+++ b/include/linux/sunrpc/msg_prot.h
@@ -14,6 +14,8 @@
/* size of an XDR encoding unit in bytes, i.e. 32bit */
#define XDR_UNIT (4)
+#include <linux/types.h>
+
/* spec defines authentication flavor as an unsigned 32 bit integer */
typedef u32 rpc_authflavor_t;
diff --git a/include/linux/sunrpc/rpc_pipe_fs.h b/include/linux/sunrpc/rpc_pipe_fs.h
index cf14db9..6f942c9 100644
--- a/include/linux/sunrpc/rpc_pipe_fs.h
+++ b/include/linux/sunrpc/rpc_pipe_fs.h
@@ -3,6 +3,7 @@
#ifdef __KERNEL__
+#include <linux/fs.h>
#include <linux/workqueue.h>
struct rpc_pipe_msg {
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 5f4e18b..f7a0358 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -166,4 +166,41 @@ static inline char *__svc_print_addr(const struct sockaddr *addr,
return buf;
}
+
+/*
+ * Print a network address in a universal format (see rfc1833 and nfsv4.1)
+ */
+static inline int __svc_print_netaddr(struct sockaddr *addr,
+ struct xdr_netobj *na)
+{
+ u16 port;
+ ssize_t len;
+
+ switch (addr->sa_family) {
+ case AF_INET: {
+ struct sockaddr_in *sin = (struct sockaddr_in *)addr;
+ port = ntohs(sin->sin_port);
+
+ len = snprintf(na->data, na->len, "%pI4.%u.%u",
+ &sin->sin_addr,
+ port >> 8, port & 0xff);
+ break;
+ }
+ case AF_INET6: {
+ struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)addr;
+ port = ntohs(sin6->sin6_port);
+
+ len = snprintf(na->data, na->len, "%pI6.%u.%u",
+ &sin6->sin6_addr,
+ port >> 8, port & 0xff);
+ break;
+ }
+ default:
+ snprintf(na->data, na->len, "unknown address type: %d",
+ addr->sa_family);
+ len = -EINVAL;
+ break;
+ }
+ return len;
+}
#endif /* SUNRPC_SVC_XPRT_H */
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h
index f5cc089..68e07a1 100644
--- a/include/linux/sunrpc/xdr.h
+++ b/include/linux/sunrpc/xdr.h
@@ -129,6 +129,13 @@ xdr_decode_hyper(__be32 *p, __u64 *valp)
return p + 2;
}
+static inline __be32 *
+xdr_decode_opaque_fixed(__be32 *p, void *ptr, unsigned int len)
+{
+ memcpy(ptr, p, len);
+ return p + XDR_QUADLEN(len);
+}
+
/*
* Adjust kvec to reflect end of xdr'ed data (RPC client XDR)
*/
@@ -195,6 +202,7 @@ struct xdr_stream {
extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p);
extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes);
+extern __be32 *xdr_rewind_stream(struct xdr_stream *xdr, __be32 *q);
extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages,
unsigned int base, unsigned int len);
extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p);
diff --git a/net/sunrpc/backchannel_rqst.c b/net/sunrpc/backchannel_rqst.c
index cf06af3..c2a806d 100644
--- a/net/sunrpc/backchannel_rqst.c
+++ b/net/sunrpc/backchannel_rqst.c
@@ -221,6 +221,8 @@ struct rpc_rqst *xprt_alloc_bc_request(struct rpc_xprt *xprt)
{
struct rpc_rqst *req;
+ BUG_ON(!in_softirq());
+
dprintk("RPC: allocate a backchannel request\n");
spin_lock(&xprt->bc_pa_lock);
if (!list_empty(&xprt->bc_pa_list)) {
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c
index 2763fde..f3d2db2 100644
--- a/net/sunrpc/xdr.c
+++ b/net/sunrpc/xdr.c
@@ -403,16 +403,14 @@ xdr_shrink_pagelen(struct xdr_buf *buf, size_t len)
/* Shift the tail first */
if (tail->iov_len != 0) {
- p = (char *)tail->iov_base + len;
- if (tail->iov_len > len) {
- copy = tail->iov_len - len;
- memmove(p, tail->iov_base, copy);
- } else
- buf->buflen -= len;
- /* Copy from the inlined pages into the tail */
copy = len;
- if (copy > tail->iov_len)
+ if (tail->iov_len > len) {
+ p = (char *)tail->iov_base + len;
+ memmove(p, tail->iov_base, tail->iov_len - len);
+ } else {
copy = tail->iov_len;
+ }
+ /* Copy from the inlined pages into the tail */
_copy_from_pages((char *)tail->iov_base,
buf->pages, buf->page_base + pglen - len,
copy);
@@ -496,6 +494,27 @@ __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes)
EXPORT_SYMBOL_GPL(xdr_reserve_space);
/**
+ * xdr_rewind_stream - rewind a stream back to some checkpoint
+ * @xdr: pointer to xdr_stream
+ * @q: some checkpoint at historical place of @xdr
+ *
+ * Restors an xdr stream to some historical point. @q must be
+ * a logical xdr point in the past that was sampled by @q = @xdr->p.
+ */
+__be32 *xdr_rewind_stream(struct xdr_stream *xdr, __be32 *q)
+{
+ size_t nbytes = (xdr->p - q) << 2;
+
+ BUG_ON(xdr->p < q);
+ BUG_ON(nbytes > xdr->iov->iov_len || nbytes > xdr->buf->len);
+ xdr->p = q;
+ xdr->iov->iov_len -= nbytes;
+ xdr->buf->len -= nbytes;
+ return q;
+}
+EXPORT_SYMBOL_GPL(xdr_rewind_stream);
+
+/**
* xdr_write_pages - Insert a list of pages into an XDR buffer for sending
* @xdr: pointer to xdr_stream
* @pages: list of pages
Index: config-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/config-generic,v
retrieving revision 1.369
retrieving revision 1.369.4.1
diff -u -p -r1.369 -r1.369.4.1
--- config-generic 9 Jun 2010 19:59:34 -0000 1.369
+++ config-generic 1 Jul 2010 21:16:05 -0000 1.369.4.1
@@ -3322,6 +3322,18 @@ CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFS_FSCACHE=y
+# Enable pNFS
+CONFIG_PNFS=y
+CONFIG_PNFSD=y
+CONFIG_PNFSD_LOCAL_EXPORT=y
+CONFIG_SPNFS=y
+CONFIG_SPNFS_LAYOUTSEGMENTS=y
+CONFIG_SPNFS_BLOCK=y
+CONFIG_PNFS_OBJLAYOUT=m
+CONFIG_PNFS_BLOCK=m
+CONFIG_PNFS_PANLAYOUT=m
+CONFIG_PNFS_FILE_LAYOUT=y
+#
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.2036
retrieving revision 1.2036.2.1
diff -u -p -r1.2036 -r1.2036.2.1
--- kernel.spec 21 Jun 2010 20:37:19 -0000 1.2036
+++ kernel.spec 1 Jul 2010 21:16:05 -0000 1.2036.2.1
@@ -745,7 +745,9 @@ Patch12041: mac80211-do-not-wipe-out-old
Patch12042: mac80211-explicitly-disable-enable-QoS.patch
Patch12043: mac80211-fix-supported-rates-IE-if-AP-doesnt-give-us-its-rates.patch
-
+Patch20000: linux-2.6.34-inline.patch
+Patch20001: pnfs-all-2.6.34-2010-07-01.patch
+Patch20002: linux-2.6-pnfs-compile.patch
%endif
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1360,6 +1362,10 @@ ApplyPatch mac80211-fix-supported-rates-
ApplyPatch quiet-prove_RCU-in-cgroups.patch
+ApplyPatch linux-2.6.34-inline.patch
+ApplyPatch pnfs-all-2.6.34-2010-07-01.patch
+ApplyPatch linux-2.6-pnfs-compile.patch
+
# END OF PATCH APPLICATIONS
%endif
@@ -1991,6 +1997,9 @@ fi
# || ||
%changelog
+* Thu Jul 1 2010 Steve Dickson <steved at redhat.com>
+- Updated to the latest pNFS bits: pnfs-all-2.6.34-2010-07-01
+
* Mon Jun 21 2010 Kyle McMartin <kyle at redhat.com> 2.6.34-45
- drm-revert-drm-fbdev-rework-output-polling-to-be-back-in-core.patch
Revert eb1f8e4f, bisected by Nicolas Kaiser. Thanks! (rhbz#599190)
More information about the scm-commits
mailing list