* [GIT PULL] Please pull NFS client updates
@ 2022-12-13 15:35 Trond Myklebust
2022-12-13 18:13 ` pr-tracker-bot
0 siblings, 1 reply; 10+ messages in thread
From: Trond Myklebust @ 2022-12-13 15:35 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-nfs, linux-kernel
Hi Linus,
The following changes since commit b7b275e60bcd5f89771e865a8239325f86d9927d:
Linux 6.1-rc7 (2022-11-27 13:31:48 -0800)
are available in the Git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-6.2-1
for you to fetch changes up to 7fd461c47c6cfab4ca4d003790ec276209e52978:
NFSv4.2: Change the default KConfig value for READ_PLUS (2022-12-10 13:24:59 -0500)
Cheers,
Trond
----------------------------------------------------------------
NFS client updates for Linux 6.2
Highlights include:
Bugfixes
- Fix a NULL pointer dereference in the mount parser
- Fix a memory stomp in decode_attr_security_label
- Fix a credential leak in _nfs4_discover_trunking()
- Fix a buffer leak in rpcrdma_req_create()
- Fix a leaked socket in rpc_sockname()
- Fix a deadlock between nfs4_open_recover_helper() and delegreturn
- Fix an Oops in nfs_d_automount()
- Fix a potential race in nfs_call_unlink()
- Multiple fixes for the open context mode
- NFSv4.2 READ_PLUS fixes
- Fix a regression in which small rsize/wsize values are being forbidden
- Fail client initialisation if the NFSv4.x state manager thread can't run
- avoid spurious warning of lost lock that is being unlocked.
- Ensure the initialisation of struct nfs4_label
Features and cleanups
- Trigger the "ls -l" readdir heuristic sooner
- Clear the file access cache upon login to ensure supplementary group
info is in sync between the client and server
- pnfs: Fix up the logging of layout stateids
- NFSv4.2: Change the default KConfig value for READ_PLUS
- Use sysfs_emit() instead of scnprintf() where appropriate
----------------------------------------------------------------
Anna Schumaker (4):
NFSv4.2: Set the correct size scratch buffer for decoding READ_PLUS
NFSv4.2: Fix up READ_PLUS alignment
NFS: Allow very small rsize & wsize again
NFSv4.2: Change the default KConfig value for READ_PLUS
Benjamin Coddington (1):
NFS: Trigger the "ls -l" readdir heuristic sooner
ChenXiaoSong (2):
NFS: make sure open context mode have FMODE_EXEC when file open for exec
NFSv4: check FMODE_EXEC from open context mode in nfs4_opendata_access()
Hawkins Jiawei (1):
nfs: fix possible null-ptr-deref when parsing param
NeilBrown (1):
NFS: avoid spurious warning of lost lock that is being unlocked.
Trond Myklebust (11):
NFS: Clear the file access cache upon login
NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
NFSv4.2: Always decode the security label
NFSv4.2: Fix a memory stomp in decode_attr_security_label
NFSv4.2: Fix initialisation of struct nfs4_label
NFSv4: Fix a credential leak in _nfs4_discover_trunking()
NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
NFS: Fix an Oops in nfs_d_automount()
NFS: Fix a race in nfs_call_unlink()
NFS4.x/pnfs: Fix up logging of layout stateids
NFSv4.x: Fail client initialisation if state manager thread can't run
Wang ShaoBo (1):
SUNRPC: Fix missing release socket in rpc_sockname()
Zhang Xiaoxu (1):
xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
ye xingchen (2):
NFS: use sysfs_emit() to instead of scnprintf()
fs: nfs: sysfs: use sysfs_emit() to instead of scnprintf()
fs/nfs/Kconfig | 8 +++----
fs/nfs/dir.c | 32 +++++++++++++++++++++++--
fs/nfs/fs_context.c | 6 +++++
fs/nfs/inode.c | 3 ++-
fs/nfs/internal.h | 6 ++---
fs/nfs/namespace.c | 4 ++--
fs/nfs/nfs42xdr.c | 9 +++----
fs/nfs/nfs4_fs.h | 1 +
fs/nfs/nfs4file.c | 12 ++++------
fs/nfs/nfs4proc.c | 57 +++++++++++++++++++++++++--------------------
fs/nfs/nfs4state.c | 5 +++-
fs/nfs/nfs4trace.h | 4 ++--
fs/nfs/nfs4xdr.c | 22 +++++++----------
fs/nfs/sysfs.c | 2 +-
fs/nfs/unlink.c | 1 +
include/linux/nfs_fs.h | 1 +
net/sunrpc/clnt.c | 2 +-
net/sunrpc/xprtrdma/verbs.c | 2 +-
18 files changed, 108 insertions(+), 69 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@hammerspace.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [GIT PULL] Please pull NFS client updates
2022-12-13 15:35 [GIT PULL] Please pull NFS client updates Trond Myklebust
@ 2022-12-13 18:13 ` pr-tracker-bot
0 siblings, 0 replies; 10+ messages in thread
From: pr-tracker-bot @ 2022-12-13 18:13 UTC (permalink / raw)
To: Trond Myklebust; +Cc: Linus Torvalds, linux-nfs, linux-kernel
The pull request you sent on Tue, 13 Dec 2022 10:35:50 -0500:
> git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-6.2-1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a044dab5e6e5f0c382a6a4af37d537fb2d8bacb7
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2015-07-02 16:21 Trond Myklebust
0 siblings, 0 replies; 10+ messages in thread
From: Trond Myklebust @ 2015-07-02 16:21 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux NFS Mailing List, Linux Kernel Mailing List
Hi Linus,
The following changes since commit d4a4f75cd8f29cd9464a5a32e9224a91571d6649:
Linux 4.1-rc7 (2015-06-07 20:23:50 -0700)
are available in the git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.2-1
for you to fetch changes up to b4839ebe21fc5d543b933d83644981ea73e9ba36:
nfs: Remove invalid tk_pid from debug message (2015-07-01 11:31:25 -0400)
----------------------------------------------------------------
NFS client updates for Linux 4.2
Highlights include:
Stable patches:
- Fix a crash in the NFSv4 file locking code.
- Fix an fsync() regression, where we were failing to retry I/O in some
circumstances.
- Fix an infinite loop in NFSv4.0 OPEN stateid recovery
- Fix a memory leak when an attempted pnfs fails.
- Fix a memory leak in the backchannel code
- Large hostnames were not supported correctly in NFSv4.1
- Fix a pNFS/flexfiles bug that was impeding error reporting on I/O.
- Fix a couple of credential issues in pNFS/flexfiles
Bugfixes + cleanups:
- Open flag sanity checks in the NFSv4 atomic open codepath
- More NFSv4 delegation related bugfixes
- Various NFSv4.1 backchannel bugfixes and cleanups
- Fix the NFS swap socket code
- Various cleanups of the NFSv4 SETCLIENTID and EXCHANGE_ID code
- Fix a UDP transport deadlock issue
Features:
- More RDMA client transport improvements
- NFSv4.2 LAYOUTSTATS functionality for pnfs flexfiles.
----------------------------------------------------------------
Anna Schumaker (1):
NFS: Remove unused nfs_rw_ops->rw_release() function
Benjamin Coddington (1):
nfs: verify open flags before allowing open
Chuck Lever (18):
NFS: Fix size of NFSACL SETACL operations
SUNRPC: Clean up bc_send()
SUNRPC: Transport fault injection
SUNRPC: Address kbuild warning in net/sunrpc/debugfs.c
xprtrdma: Warn when there are orphaned IB objects
xprtrdma: Replace rpcrdma_rep::rr_buffer with rr_rxprt
xprtrdma: Remove rr_func
xprtrdma: Use ib_device pointer safely
xprtrdma: Introduce helpers for allocating MWs
xprtrdma: Acquire FMRs in rpcrdma_fmr_register_external()
xprtrdma: Introduce an FRMR recovery workqueue
xprtrdma: Acquire MRs in rpcrdma_register_external()
xprtrdma: Remove unused LOCAL_INV recovery logic
xprtrdma: Remove ->ro_reset
xprtrdma: Remove rpcrdma_ia::ri_memreg_strategy
xprtrdma: Split rb_lock
xprtrdma: Stack relief in fmr_op_map()
xprtrdma: Reduce per-transport MR allocation
Dominique Martinet (1):
NFSv4: handle nfs4_get_referral failure
Fabian Frederick (2):
pnfs/flexfiles: use swap() in ff_layout_sort_mirrors()
sunrpc: use sg_init_one() in krb5_rc4_setup_enc/seq_key()
Jeff Layton (14):
sunrpc: keep a count of swapfiles associated with the rpc_clnt
sunrpc: make xprt->swapper an atomic_t
sunrpc: if we're closing down a socket, clear memalloc on it first
sunrpc: lock xprt before trying to set memalloc on the sockets
sunrpc: turn swapper_enable/disable functions into rpc_xprt_ops
nfs: deny backchannel RPCs with an incorrect authflavor instead of dropping them
nfs: increase size of EXCHANGE_ID name string buffer
nfs: convert setclientid and exchange_id encoders to use clp->cl_owner_id
nfs: update maxsz values for SETCLIENTID and EXCHANGE_ID
nfs: make nfs4_init_nonuniform_client_string use a dynamically allocated buffer
nfs: make nfs4_init_uniform_client_string use a dynamically allocated buffer
nfs: fix potential credential leak in ff_layout_update_mirror_cred
nfs: always update creds in mirror, even when we have an already connected ds
nfs: take extra reference to fl->fl_file when running a LOCKU operation
Julia Lawall (1):
NFS: drop unneeded goto
Kinglong Mee (11):
nfs: Only update callback sequnce id when CB_SEQUENCE success
nfs: Initialize cb_sequenceres information before validate_seqid()
nfs: Fix showing truncated fsid/dev in, /proc/net/nfsfs/volumes
nfs: Fix a memory leak when meeting an unsupported state protect
nfs: Remove unused argument in nfs_server_set_fsinfo()
nfs: Use remove_proc_subtree() instead remove_proc_entry()
nfs: Don't setting FILE_CREATED flags always
nfs: Remove unneeded micro checking of CONFIG_PROC_FS
nfs: Drop bad comment in nfs41_walk_client_list()
nfs: Remove invalid NFS_ATTR_FATTR_V4_REFERRAL checking in nfs4_get_rootfh
nfs: Remove invalid tk_pid from debug message
Neil Brown (1):
SUNRPC: never enqueue a ->rq_cong request on ->sending
NeilBrown (2):
NFS: report more appropriate block size for directories.
NFSv4: When returning a delegation, don't reclaim an incompatible open mode.
Olga Kornievskaia (2):
fixing infinite OPEN loop in 4.0 stateid recovery
Recover from stateid-type error on SETATTR
Peng Tao (9):
pNFS: fill in nfs42_layoutstat_ops
pnfs: add pnfs_report_layoutstat helper function
pNFS/flexfiles: track when layout is first used
pnfs/flexfiles: add ff_layout_prepare_layoutstats
pnfs/flexfiles: encode LAYOUTSTATS flexfiles specific data
nfs42: serialize LAYOUTSTATS calls of the same file
pnfs/flexfiles: report layoutstat regularly
nfs: provide pnfs_report_layoutstat when NFS42 is disabled
pnfs/flexfiles: protect ktime manipulation with mirror lock
Stefan Hajnoczi (1):
SUNRPC: drop stale doc comments in xprtsock.c
Trond Myklebust (24):
NFSv4: Always drain the slot table before re-establishing the lease
SUNRPC: Fix a memory leak in the backchannel code
SUNRPC: Backchannel handle socket nospace
NFSv4: nfs4_handle_delegation_recall_error should ignore EAGAIN
SUNRPC: Remove unused argument 'tk_ops' in rpc_run_bc_task
SUNRPC: Clean up allocation and freeing of back channel requests
SUNRPC: Fix a backchannel race
NFS: Ensure that we update the sequence id under the slot table lock
NFSv4: Fix stateid recovery on revoked delegations
Merge tag 'nfs-rdma-for-4.2' of git://git.linux-nfs.org/projects/anna/nfs-rdma
pNFS: Fix a memory leak when attempted pnfs fails
NFS: Ensure we set NFS_CONTEXT_RESEND_WRITES when requeuing writes
SUNRPC: Handle connection issues correctly on the back channel
SUNRPC: Ensure we release the TCP socket once it has been closed
SUNRPC: Set the TCP user timeout option on client sockets
Merge branch 'bugfixes'
NFSv.2/pnfs Add a LAYOUTSTATS rpc function
pNFS/flexfiles: Remove unused struct members user_name, group_name
pNFS/flexfiles: add layoutstats tracking
Merge branch 'layoutstats'
pNFS/flexfiles: Turn off layoutcommit for servers that don't need it
pNFS/flexfiles: Fix the reset of struct pgio_header when resending
NFSv4.2: Fix up a decoding error in layoutstats
NFSv4.2: LAYOUTSTATS is optional to implement
Vaishali Thakkar (1):
NFS: Convert use of __constant_htonl to htonl
Yijing Wang (1):
nfs: Fix comment for nfs_pageio_init() and nfs_pageio_complete_mirror()
fs/nfs/callback.c | 6 +-
fs/nfs/callback_proc.c | 38 ++-
fs/nfs/callback_xdr.c | 2 +-
fs/nfs/client.c | 40 +--
fs/nfs/dir.c | 3 -
fs/nfs/file.c | 15 +-
fs/nfs/flexfilelayout/flexfilelayout.c | 480 ++++++++++++++++++++++++++++--
fs/nfs/flexfilelayout/flexfilelayout.h | 33 +-
fs/nfs/flexfilelayout/flexfilelayoutdev.c | 7 +-
fs/nfs/inode.c | 12 +-
fs/nfs/nfs3xdr.c | 2 +-
fs/nfs/nfs42.h | 9 +-
fs/nfs/nfs42proc.c | 87 ++++++
fs/nfs/nfs42xdr.c | 106 +++++++
fs/nfs/nfs4_fs.h | 1 +
fs/nfs/nfs4client.c | 1 -
fs/nfs/nfs4file.c | 4 +
fs/nfs/nfs4getroot.c | 7 -
fs/nfs/nfs4idmap.c | 7 +-
fs/nfs/nfs4proc.c | 221 ++++++++++----
fs/nfs/nfs4state.c | 4 +-
fs/nfs/nfs4xdr.c | 15 +-
fs/nfs/pagelist.c | 10 +-
fs/nfs/pnfs.c | 64 ++++
fs/nfs/pnfs.h | 13 +-
fs/nfs/write.c | 9 +-
include/linux/nfs4.h | 1 +
include/linux/nfs_fs.h | 1 +
include/linux/nfs_fs_sb.h | 1 +
include/linux/nfs_page.h | 1 -
include/linux/nfs_xdr.h | 51 +++-
include/linux/sunrpc/bc_xprt.h | 1 -
include/linux/sunrpc/clnt.h | 1 +
include/linux/sunrpc/sched.h | 19 +-
include/linux/sunrpc/xprt.h | 39 ++-
include/linux/sunrpc/xprtrdma.h | 3 +-
net/sunrpc/Makefile | 2 +-
net/sunrpc/auth_gss/gss_krb5_crypto.c | 8 +-
net/sunrpc/backchannel_rqst.c | 134 +++++----
net/sunrpc/bc_svc.c | 63 ----
net/sunrpc/clnt.c | 109 +++++--
net/sunrpc/debugfs.c | 78 +++++
net/sunrpc/svc.c | 36 ++-
net/sunrpc/xprt.c | 7 +-
net/sunrpc/xprtrdma/fmr_ops.c | 120 +++++---
net/sunrpc/xprtrdma/frwr_ops.c | 227 ++++++++++----
net/sunrpc/xprtrdma/physical_ops.c | 14 +-
net/sunrpc/xprtrdma/rpc_rdma.c | 8 +-
net/sunrpc/xprtrdma/transport.c | 43 ++-
net/sunrpc/xprtrdma/verbs.c | 257 ++++------------
net/sunrpc/xprtrdma/xprt_rdma.h | 38 ++-
net/sunrpc/xprtsock.c | 151 +++++++---
52 files changed, 1862 insertions(+), 747 deletions(-)
delete mode 100644 net/sunrpc/bc_svc.c
--
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@primarydata.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2015-02-20 16:16 Trond Myklebust
0 siblings, 0 replies; 10+ messages in thread
From: Trond Myklebust @ 2015-02-20 16:16 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux NFS Mailing List, Linux Kernel Mailing List
Hi Linus,
The following changes since commit 6bec0035286119eefc32a5b1102127e6a4032cb2:
Merge branch 'for-3.20/bdi' of git://git.kernel.dk/linux-block (2015-02-12 13:50:21 -0800)
are available in the git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.20-2
for you to fetch changes up to 71a097c6de9a49afd0f96b3ecef70c4eb04efde7:
NFSv4.1: Clean up bind_conn_to_session (2015-02-18 13:11:09 -0800)
----------------------------------------------------------------
NFS client updates for Linux 3.20
Highlights include:
- Fix a use-after-free in decode_cb_sequence_args()
- Fix a compile error when #undef CONFIG_PROC_FS
- NFSv4.1 backchannel spinlocking issue
- Cleanups in the NFS unstable write code requested by Linus
- NFSv4.1 fix issues when the server denies our backchannel request
- Cleanups in create_session and bind_conn_to_session
----------------------------------------------------------------
Chuck Lever (1):
SUNRPC: Always manipulate rpc_rqst::rq_bc_pa_list under xprt->bc_pa_lock
Tom Haynes (3):
nfs: Provide and use helper functions for marking a page as unstable
nfs: Can call nfs_clear_page_commit() instead
pnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_mark_request_commit
Trond Myklebust (10):
NFSv4.1: Fix a kfree() of uninitialised pointers in decode_cb_sequence_args
NFSv4.1: Convert open-coded array allocation calls to kmalloc_array()
SUNRPC: Fix a compile error when #undef CONFIG_PROC_FS
NFS: struct nfs_commit_info.lock must always point to inode->i_lock
NFSv4: Kill unused nfs_inode->delegation_state field
Merge branch 'cleanups'
NFSv4.1: Clean up create_session
NFSv4.1: Don't set up a backchannel if the server didn't agree to do so
NFSv4.1: Always set up a forward channel when binding the session
NFSv4.1: Clean up bind_conn_to_session
fs/nfs/callback_proc.c | 2 +
fs/nfs/callback_xdr.c | 8 ++--
fs/nfs/delegation.c | 4 --
fs/nfs/direct.c | 2 +-
fs/nfs/filelayout/filelayout.c | 53 +++++-------------------
fs/nfs/flexfilelayout/flexfilelayout.c | 43 +------------------
fs/nfs/inode.c | 1 -
fs/nfs/internal.h | 13 ++++++
fs/nfs/nfs4proc.c | 75 ++++++++++++++++++++++------------
fs/nfs/nfs4session.c | 2 +-
fs/nfs/nfs4session.h | 6 +++
fs/nfs/nfs4xdr.c | 32 +++++++--------
fs/nfs/pnfs.h | 4 ++
fs/nfs/pnfs_nfs.c | 30 ++++++++++++++
fs/nfs/write.c | 16 ++------
include/linux/nfs_fs.h | 1 -
include/linux/nfs_xdr.h | 19 +++++++--
include/linux/sunrpc/metrics.h | 7 +++-
net/sunrpc/backchannel_rqst.c | 5 ++-
19 files changed, 165 insertions(+), 158 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2014-06-10 21:42 Trond Myklebust
0 siblings, 0 replies; 10+ messages in thread
From: Trond Myklebust @ 2014-06-10 21:42 UTC (permalink / raw)
To: Torvalds Linus; +Cc: Linux NFS Mailing List, Linux Kernel mailing list
[-- Attachment #1: Type: text/plain, Size: 9046 bytes --]
Hi Linus,
The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:
Linux 3.15-rc1 (2014-04-13 14:18:35 -0700)
are available in the git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.16-1
for you to fetch changes up to a914722f333b3359d2f4f12919380a334176bb89:
NFS: populate ->net in mount data when remounting (2014-06-10 11:10:29 -0400)
----------------------------------------------------------------
NFS client updates for Linux 3.16
Highlights include:
- Massive cleanup of the NFS read/write code by Anna and Dros
- Support multiple NFS read/write requests per page in order to deal with
non-page aligned pNFS striping. Also cleans up the r/wsize < page size
code nicely.
- stable fix for ensuring inode is declared uptodate only after all the
attributes have been checked.
- stable fix for a kernel Oops when remounting
- NFS over RDMA client fixes
- move the pNFS files layout driver into its own subdirectory
----------------------------------------------------------------
Allen Andrews (1):
nfs-rdma: Fix for FMR leaks
Andy Adamson (1):
NFSv4: Use error handler on failed GETATTR with successful OPEN
Anna Schumaker (17):
NFS: Create a common argument structure for reads and writes
NFS: Create a common results structure for reads and writes
NFS: Create a common read and write data struct
NFS: Create a common read and write header struct
NFS: Move the write verifier into the nfs_pgio_header
NFS: Create a common pgio_alloc and pgio_release function
NFS: Create a common rw_header_alloc and rw_header_free function
NFS: Create a common pgio_rpc_prepare function
NFS: Create a common nfs_pgio_result_common function
NFS: Create a common rpc_call_ops struct
NFS: Create a common rpcsetup function for reads and writes
NFS: Create a common pgio_error function
NFS: Create a generic_pgio function
NFS: Create a common initiate_pgio() function
NFS: Create a common multiple_pgios() function
NFS: Create a common generic_pg_pgios()
NFS: Create a common nfs_pageio_ops struct
Christoph Hellwig (3):
nfs: commit layouts in fdatasync
nfs: remove ->write_pageio_init from rpc ops
nfs: remove ->read_pageio_init from rpc ops
Chuck Lever (21):
xprtrdma: RPC/RDMA must invoke xprt_wake_pending_tasks() in process context
xprtrdma: Remove BOUNCEBUFFERS memory registration mode
xprtrdma: Remove MEMWINDOWS registration modes
xprtrdma: Remove REGISTER memory registration mode
xprtrdma: Fall back to MTHCAFMR when FRMR is not supported
xprtrdma: mount reports "Invalid mount option" if memreg mode not supported
xprtrdma: Simplify rpcrdma_deregister_external() synopsis
xprtrdma: Make rpcrdma_ep_destroy() return void
xprtrdma: Split the completion queue
xprtrmda: Reduce lock contention in completion handlers
xprtrmda: Reduce calls to ib_poll_cq() in completion handlers
xprtrdma: Limit work done by completion handler
xprtrdma: Reduce the number of hardway buffer allocations
xprtrdma: Ensure ia->ri_id->qp is not NULL when reconnecting
xprtrdma: Remove Tavor MTU setting
xprtrdma: Use macros for reconnection timeout constants
xprtrdma: Reset connection timeout after successful reconnect
SUNRPC: Move congestion window constants to header file
xprtrdma: Avoid deadlock when credit window is reset
xprtrdma: Remove BUG_ON() call sites
xprtrdma: Disconnect on registration failure
David Rientjes (1):
net, sunrpc: suppress allocation warning in rpc_malloc()
Kinglong Mee (1):
NFS: Fix memroy leak for double mounts
Mateusz Guzik (1):
NFS: populate ->net in mount data when remounting
Scott Mayhew (1):
nfs: Apply NFS_MOUNT_CMP_FLAGMASK to nfs_compare_remount_data()
Shirley Ma (1):
xprtrdma: Allocate missing pagelist
Steve Wise (1):
xprtrdma: mind the device's max fast register page list depth
Tom Haynes (3):
Push the file layout driver into a subdirectory
NFSv4.1: Comment is now wrong and redundant to code
NFSv4.1: Fix typo in dprintk
Trond Myklebust (9):
NFS: Don't declare inode uptodate unless all attributes were checked
NFS: Don't ignore suid/sgid bit changes after a successful write
SUNRPC: Fix a module reference issue in rpcsec_gss
NFS: Fix error handling in __nfs_pageio_add_request
NFS: Fix a potential busy wait in nfs_page_group_lock
pNFS: Handle allocation errors correctly in filelayout_alloc_layout_hdr()
pNFS: Handle allocation errors correctly in objlayout_alloc_layout_hdr()
Merge tag 'nfs-rdma-3.16' of git://git.linux-nfs.org/projects/anna/nfs-rdma into linux-next
NFS: Use raw_write_seqcount_begin/end int nfs4_reclaim_open_state
Weston Andros Adamson (19):
pnfs: fix race in filelayout commit path
nfs: clean up PG_* flags
nfs: remove unused arg from nfs_create_request
nfs: modify pg_test interface to return size_t
nfs: call nfs_can_coalesce_requests for every req
nfs: add support for multiple nfs reqs per page
nfs: page group syncing in read path
nfs: page group syncing in write path
nfs: page group support in nfs_mark_uptodate
pnfs: clean up filelayout_alloc_commit_info
nfs: allow coalescing of subpage requests
nfs: chain calls to pg_test
nfs: use > 1 request to handle bsize < PAGE_SIZE
nfs: remove data list from pgio header
pnfs: support multiple verfs per direct req
pnfs: allow non page aligned pnfs layout segments
pnfs: filelayout: support non page aligned layouts
nfs: support page groups in nfs_read_completion
pnfs: fix lockup caused by pnfs_generic_pg_test
fs/nfs/Makefile | 4 +-
fs/nfs/blocklayout/blocklayout.c | 38 +-
fs/nfs/direct.c | 117 +++-
fs/nfs/filelayout/Makefile | 5 +
.../{nfs4filelayout.c => filelayout/filelayout.c} | 203 +++---
.../{nfs4filelayout.h => filelayout/filelayout.h} | 2 +-
.../filelayoutdev.c} | 6 +-
fs/nfs/getroot.c | 3 +-
fs/nfs/inode.c | 26 +-
fs/nfs/internal.h | 33 +-
fs/nfs/nfs2xdr.c | 14 +-
fs/nfs/nfs3proc.c | 21 +-
fs/nfs/nfs3xdr.c | 16 +-
fs/nfs/nfs4_fs.h | 4 +-
fs/nfs/nfs4file.c | 3 +-
fs/nfs/nfs4proc.c | 56 +-
fs/nfs/nfs4state.c | 6 +-
fs/nfs/nfs4trace.h | 8 +-
fs/nfs/nfs4xdr.c | 19 +-
fs/nfs/objlayout/objio_osd.c | 24 +-
fs/nfs/objlayout/objlayout.c | 24 +-
fs/nfs/objlayout/objlayout.h | 8 +-
fs/nfs/pagelist.c | 633 +++++++++++++++--
fs/nfs/pnfs.c | 166 ++---
fs/nfs/pnfs.h | 30 +-
fs/nfs/proc.c | 21 +-
fs/nfs/read.c | 414 +++--------
fs/nfs/super.c | 27 +-
fs/nfs/write.c | 588 +++++-----------
include/linux/nfs.h | 5 +-
include/linux/nfs_fs.h | 2 -
include/linux/nfs_page.h | 46 +-
include/linux/nfs_xdr.h | 106 +--
include/linux/sunrpc/xprt.h | 6 +
net/sunrpc/auth_gss/gss_mech_switch.c | 4 +-
net/sunrpc/sched.c | 5 +-
net/sunrpc/xprt.c | 28 +-
net/sunrpc/xprtrdma/rpc_rdma.c | 119 ++--
net/sunrpc/xprtrdma/transport.c | 90 +--
net/sunrpc/xprtrdma/verbs.c | 753 +++++++++------------
net/sunrpc/xprtrdma/xprt_rdma.h | 17 +-
41 files changed, 1804 insertions(+), 1896 deletions(-)
create mode 100644 fs/nfs/filelayout/Makefile
rename fs/nfs/{nfs4filelayout.c => filelayout/filelayout.c} (90%)
rename fs/nfs/{nfs4filelayout.h => filelayout/filelayout.h} (99%)
rename fs/nfs/{nfs4filelayoutdev.c => filelayout/filelayoutdev.c} (99%)
--
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@primarydata.com
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2014-03-09 16:22 Trond Myklebust
0 siblings, 0 replies; 10+ messages in thread
From: Trond Myklebust @ 2014-03-09 16:22 UTC (permalink / raw)
To: Torvalds Linus; +Cc: Linux NFS Mailing List, Linux Kernel mailing list
[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]
Hi Linus,
The following changes since commit 146d70caaa1b87f64597743429d7da4b8073d0c9:
NFS fix error return in nfs4_select_rw_stateid (2014-02-19 09:31:56 -0500)
are available in the git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.14-5
for you to fetch changes up to 2ca310fc4160ed0420da65534a21ae77b24326a8:
SUNRPC: Fix oops when trace sunrpc_task events in nfs client (2014-03-07 19:10:08 -0500)
----------------------------------------------------------------
NFS client bugfixes for Linux 3.14
Highlights include:
- Fix another nfs4_sequence corruptor in RELEASE_LOCKOWNER
- Fix an Oopsable delegation callback race
- Fix another bad stateid infinite loop
- Fail the data server I/O is the stateid represents a lost lock
- Fix an Oopsable sunrpc trace event
----------------------------------------------------------------
Andy Adamson (1):
NFSv4.1 Fail data server I/O if stateid represents a lost lock
Ditang Chen (1):
SUNRPC: Fix oops when trace sunrpc_task events in nfs client
Trond Myklebust (5):
NFSv4: Fix another nfs4_sequence corruptor
NFS: Fix a delegation callback race
NFSv4: nfs4_stateid_is_current should return 'true' for an invalid stateid
NFSv4: Fix the return value of nfs4_select_rw_stateid
NFSv4: Fail the truncate() if the lock/open stateid is invalid
fs/nfs/delegation.c | 11 +++++++----
fs/nfs/nfs4filelayout.c | 10 ++++++----
fs/nfs/nfs4proc.c | 24 ++++++++++++++----------
fs/nfs/nfs4state.c | 14 +++-----------
include/linux/nfs_xdr.h | 5 +++++
include/trace/events/sunrpc.h | 4 ++--
6 files changed, 37 insertions(+), 31 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@primarydata.com
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2013-07-11 18:18 Myklebust, Trond
0 siblings, 0 replies; 10+ messages in thread
From: Myklebust, Trond @ 2013-07-11 18:18 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux linux-kernel, Linux NFS mailing list
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2086 bytes --]
Hi Linus,
The following pull request mainly contains some small readdir
optimisations that had dependencies on Al Viro's readdir rewrite. There
is also a fix for a nasty deadlock which surfaced earlier in this merge
window.
The following changes since commit a82a729f04232ccd0b59406574ba4cf20027a49d:
Merge branch 'akpm' (updates from Andrew Morton) (2013-07-09 13:33:36 -0700)
are available in the git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.11-2
for you to fetch changes up to eeee245268c951262b861bc1be4e9dc812352499:
SUNRPC: Fix a deadlock in rpc_client_register() (2013-07-10 15:58:55 -0400)
----------------------------------------------------------------
NFS client updates for Linux 3.11 (part 2)
Highlights include:
- Fix an_rpc pipefs regression that causes a deadlock on mount
- Readdir optimisations by Scott Mayhew and Jeff Layton
- clean up the rpc_pipefs dentry operation setup
----------------------------------------------------------------
Fengguang Wu (1):
rpc_pipe: rpc_dir_inode_operations can be static
Jeff Layton (2):
nfs: set verifier on existing dentries in nfs_prime_dcache
rpc_pipe: set dentry operations at d_alloc time
Scott Mayhew (3):
NFS: Make nfs_attribute_cache_expired() non-static
NFS: Make nfs_readdir revalidate less often
NFS: Allow nfs_updatepage to extend a write under additional circumstances
Trond Myklebust (1):
SUNRPC: Fix a deadlock in rpc_client_register()
fs/nfs/dir.c | 6 ++++--
fs/nfs/inode.c | 2 +-
fs/nfs/write.c | 31 +++++++++++++++++++++++--------
include/linux/nfs_fs.h | 1 +
net/sunrpc/clnt.c | 16 +++++++++-------
net/sunrpc/rpc_pipe.c | 25 ++++++++++++++++++++-----
6 files changed, 58 insertions(+), 23 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2013-07-08 17:59 Myklebust, Trond
0 siblings, 0 replies; 10+ messages in thread
From: Myklebust, Trond @ 2013-07-08 17:59 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux NFS mailing list, Linux linux-kernel, James Morris
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 7958 bytes --]
Hi Linus,
The following changes since commit f722406faae2d073cc1d01063d1123c35425939e:
Linux 3.10-rc1 (2013-05-11 17:14:08 -0700)
are available in the git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.11-1
for you to fetch changes up to 959d921f5eb8878ea16049a7f6e9bcbb6dfbcb88:
Merge branch 'labeled-nfs' into linux-next (2013-06-28 16:29:51 -0400)
----------------------------------------------------------------
NFS client updates for Linux 3.11
Feature highlights include:
- Add basic client support for NFSv4.2
- Add basic client support for Labeled NFS (selinux for NFSv4.2)
- Fix the use of credentials in NFSv4.1 stateful operations, and
add support for NFSv4.1 state protection.
Bugfix highlights:
- Fix another NFSv4 open state recovery race
- Fix an NFSv4.1 back channel session regression
- Various rpc_pipefs races
- Fix another issue with NFSv3 auth negotiation
Please note that Labeled NFS does require some additional support from
the security subsystem. The relevant changesets have all been reviewed
and acked by James Morris.
----------------------------------------------------------------
Andy Adamson (6):
NFSv4.1 Fix a pNFS session draining deadlock
NFSv4.1 end back channel session draining
NFSv4.1 Fix gdia_maxcount calculation to fit in ca_maxresponsesize
NFSv4.1 use pnfs_device maxcount for the blocklayout gdia_maxcount
NFSv4.1 use pnfs_device maxcount for the objectlayout gdia_maxcount
NFSv4.1 Refactor nfs4_init_session and nfs4_init_channel_attrs
Bryan Schumaker (4):
NFS: Make callbacks minor version generic
NFS: Add in v4.2 callback operation
NFS: Apply v4.1 capabilities to v4.2
NFS: Improve legacy idmapping fallback
Chuck Lever (3):
NFS: Fix SETCLIENTID fallback if GSS is not available
NFS: Fix security flavor negotiation with legacy binary mounts
NFS: Set NFS_CS_MIGRATION for NFSv4 mounts
David Quigley (10):
Security: Add hook to calculate context based on a negative dentry.
Security: Add Hook to test if the particular xattr is part of a MAC model.
LSM: Add flags field to security_sb_set_mnt_opts for in kernel mount data.
SELinux: Add new labeling type native labels
NFSv4: Add label recommended attribute and NFSv4 flags
NFSv4: Extend fattr bitmaps to support all 3 words
NFS:Add labels to client function prototypes
NFS: Add label lifecycle management
NFS: Client implementation of Labeled-NFS
NFS: Extend NFS xattr handlers to accept the security namespace
Djalal Harouni (1):
NFSv4: SETCLIENTID add the format string for the NETID
Jeff Layton (5):
rpc_pipefs: only set rpc_dentry_ops if d_op isn't already set
nfs: refactor "need_mount" code out of nfs_try_mount
nfs: move server_authlist into nfs_try_mount_request
nfs: have nfs_mount fake up a auth_flavs list when the server didn't provide it
nfs: have NFSv3 try server-specified auth flavors in turn
Stanislav Kinsbursky (4):
SUNRPC: fix races on PipeFS MOUNT notifications
SUNRPC: fix races on PipeFS UMOUNT notifications
SUNRPC: split client creation routine into setup and registration
SUNRPC: PipeFS MOUNT notification optimization for dying clients
Steve Dickson (4):
NFS: Add NFSv4.2 protocol constants
NFSv4.2: Added NFS v4.2 support to the NFS client
NFSv4: Introduce new label structure
Kconfig: Add Kconfig entry for Labeled NFS V4 client
Trond Myklebust (26):
SUNRPC: Fix a bug in gss_create_upcall
SUNRPC: Faster detection if gssd is actually running
SUNRPC: Convert auth_gss pipe detection to work in namespaces
SUNRPC: Prevent an rpc_task wakeup race
NFSv4: Fix a thinko in nfs4_try_open_cached
NFSv4.1: Ensure that layoutget is called using the layout credential
NFSv4.1: Ensure that layoutreturn uses the correct credential
NFSv4.1: Ensure that reclaim_complete uses the right credential
NFSv4.1: Ensure that test_stateid and free_stateid use correct credentials
NFSv4.1: Use layout credentials for get_deviceinfo calls
NFSv4.1: Enable state protection
NFSv4.1: Simplify setting the layout header credential
SUNRPC: Fix a potential race in rpc_execute
SUNRPC: Remove unused function rpc_queue_empty
SUNRPC: Remove the unused helpers task_for_each() and task_for_first()
SUNRPC: Remove unused functions rpc_task_set/has_priority
SUNRPC: Remove redundant call to rpc_set_running() in __rpc_execute()
NFSv4: Remove redundant check for FMODE_EXEC in nfs_finish_open
NFSv4: Cleanup: pass the nfs_open_context to nfs4_do_open
NFSv4: Refactor _nfs4_open_and_get_state to set ctx->state
NFSv4: Move dentry instantiation into the NFSv4-specific atomic open code
NFSv4: Close another NFSv4 recovery race
NFSv4: Move the DNS resolver into the NFSv4 module
NFSv4.1: layout segment comparison helpers should take 'const' parameters
NFSv4.1: Clean up layout segment comparison helper names
Merge branch 'labeled-nfs' into linux-next
fs/nfs/Kconfig | 14 +
fs/nfs/Makefile | 6 +-
fs/nfs/blocklayout/blocklayout.c | 3 +-
fs/nfs/callback.c | 1 +
fs/nfs/callback.h | 3 +
fs/nfs/callback_proc.c | 5 +-
fs/nfs/callback_xdr.c | 54 ++-
fs/nfs/client.c | 4 +-
fs/nfs/dir.c | 75 ++--
fs/nfs/dns_resolve.c | 32 +-
fs/nfs/getroot.c | 2 +-
fs/nfs/idmap.c | 56 ++-
fs/nfs/inode.c | 136 +++++--
fs/nfs/internal.h | 3 +-
fs/nfs/mount_clnt.c | 14 +-
fs/nfs/namespace.c | 2 +-
fs/nfs/nfs3proc.c | 7 +-
fs/nfs/nfs4_fs.h | 8 +-
fs/nfs/nfs4client.c | 17 +-
fs/nfs/nfs4file.c | 1 -
fs/nfs/nfs4filelayout.c | 3 +-
fs/nfs/nfs4filelayout.h | 3 +-
fs/nfs/nfs4filelayoutdev.c | 8 +-
fs/nfs/nfs4proc.c | 691 ++++++++++++++++++++++++++++++------
fs/nfs/nfs4session.c | 44 +--
fs/nfs/nfs4session.h | 20 +-
fs/nfs/nfs4state.c | 51 +--
fs/nfs/nfs4super.c | 14 +-
fs/nfs/nfs4xdr.c | 182 ++++++++--
fs/nfs/objlayout/objlayout.c | 4 +-
fs/nfs/pnfs.c | 42 +--
fs/nfs/pnfs.h | 6 +-
fs/nfs/proc.c | 13 +-
fs/nfs/super.c | 201 ++++++-----
fs/nfsd/nfsd.h | 6 +
include/linux/nfs4.h | 22 ++
include/linux/nfs_fs.h | 27 +-
include/linux/nfs_fs_sb.h | 8 +-
include/linux/nfs_xdr.h | 20 +-
include/linux/security.h | 57 ++-
include/linux/sunrpc/sched.h | 20 --
net/sunrpc/auth_gss/auth_gss.c | 62 ++--
net/sunrpc/clnt.c | 71 ++--
net/sunrpc/netns.h | 4 +
net/sunrpc/rpc_pipe.c | 13 +-
net/sunrpc/sched.c | 27 +-
security/capability.c | 19 +-
security/security.c | 24 +-
security/selinux/hooks.c | 92 ++++-
security/selinux/include/security.h | 2 +
security/selinux/ss/policydb.c | 5 +-
security/smack/smack_lsm.c | 11 +
52 files changed, 1631 insertions(+), 584 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2012-03-22 14:59 Myklebust, Trond
0 siblings, 0 replies; 10+ messages in thread
From: Myklebust, Trond @ 2012-03-22 14:59 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux NFS mailing list, Linux Kernel mailing list
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 23110 bytes --]
Hi Linus,
Please pull from the signed tag "nfs-for-3.4-1" in the repository at
git pull git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tag nfs-for-3.4-1
This will update the following files through the appended changesets.
Please note the presence of one (minimal) back-merge that was needed in
order to resolve a conflict with the upstream kernel.
New features include:
- Add NFS client support for containers.
This should enable most of the necessary functionality, including
lockd support, and support for rpc.statd, NFSv4 idmapper and
RPCSEC_GSS upcalls into the correct network namespace from
which the mount system call was issued.
- NFSv4 idmapper scalability improvements
Base the idmapper cache on the keyring interface to allow concurrent
access to idmapper entries. Start the process of migrating users from
the single-threaded daemon-based approach to the multi-threaded
request-key based approach.
- NFSv4.1 implementation id.
Allows the NFSv4.1 client and server to mutually identify each other
for logging and debugging purposes.
- Support the 'vers=4.1' mount option for mounting NFSv4.1 instead of
having to use the more counterintuitive 'vers=4,minorversion=1'.
- SUNRPC tracepoints.
Start the process of adding tracepoints in order to improve debugging
of the RPC layer.
- pNFS object layout support for autologin.
Important bugfixes include:
- Fix a bug in rpc_wake_up/rpc_wake_up_status that caused them to fail
to wake up all tasks when applied to priority waitqueues.
- Ensure that we handle read delegations correctly, when we try to
truncate a file.
- A number of fixes for NFSv4 state manager loops (mostly to do with
delegation recovery).
Cheers,
Trond
----
Documentation/filesystems/nfs/idmapper.txt | 20 +-
Documentation/filesystems/nfs/pnfs.txt | 54 ++
Documentation/kernel-parameters.txt | 23 +
fs/lockd/clnt4xdr.c | 2 +-
fs/lockd/clntlock.c | 3 +-
fs/lockd/clntxdr.c | 8 +-
fs/lockd/host.c | 42 ++-
fs/lockd/mon.c | 21 +-
fs/lockd/netns.h | 12 +
fs/lockd/svc.c | 117 ++++-
fs/lockd/svclock.c | 59 ++--
fs/nfs/Kconfig | 29 +-
fs/nfs/blocklayout/blocklayout.c | 161 +++++--
fs/nfs/blocklayout/blocklayout.h | 11 +-
fs/nfs/blocklayout/blocklayoutdev.c | 46 +-
fs/nfs/blocklayout/blocklayoutdm.c | 33 +-
fs/nfs/blocklayout/extents.c | 2 +-
fs/nfs/cache_lib.c | 61 ++-
fs/nfs/cache_lib.h | 10 +-
fs/nfs/callback.c | 19 +-
fs/nfs/callback.h | 3 +-
fs/nfs/callback_proc.c | 99 ++--
fs/nfs/callback_xdr.c | 21 +-
fs/nfs/client.c | 246 ++++++----
fs/nfs/delegation.c | 68 ++--
fs/nfs/delegation.h | 4 +-
fs/nfs/dir.c | 27 +-
fs/nfs/direct.c | 6 -
fs/nfs/dns_resolve.c | 130 ++++-
fs/nfs/dns_resolve.h | 14 +-
fs/nfs/file.c | 2 +
fs/nfs/fscache.c | 2 +-
fs/nfs/idmap.c | 733 +++++++++++++---------------
fs/nfs/inode.c | 119 ++++-
fs/nfs/internal.h | 15 +-
fs/nfs/mount_clnt.c | 16 +-
fs/nfs/namespace.c | 5 +-
fs/nfs/netns.h | 27 +
fs/nfs/nfs2xdr.c | 2 +-
fs/nfs/nfs3acl.c | 2 +-
fs/nfs/nfs3proc.c | 24 +
fs/nfs/nfs3xdr.c | 4 +-
fs/nfs/nfs4_fs.h | 58 ++-
fs/nfs/nfs4filelayout.c | 272 ++++++++---
fs/nfs/nfs4filelayout.h | 7 +-
fs/nfs/nfs4filelayoutdev.c | 90 ++---
fs/nfs/nfs4namespace.c | 10 +-
fs/nfs/nfs4proc.c | 559 +++++++++++++++-------
fs/nfs/nfs4state.c | 355 ++++++++------
fs/nfs/nfs4xdr.c | 697 +++++++++++++--------------
fs/nfs/nfsroot.c | 2 +-
fs/nfs/objlayout/objio_osd.c | 54 ++-
fs/nfs/objlayout/objlayout.c | 142 ++++++-
fs/nfs/objlayout/objlayout.h | 2 +
fs/nfs/pagelist.c | 92 +----
fs/nfs/pnfs.c | 46 +-
fs/nfs/pnfs.h | 98 ++--
fs/nfs/pnfs_dev.c | 4 +-
fs/nfs/proc.c | 24 +
fs/nfs/read.c | 14 +-
fs/nfs/super.c | 167 +++++--
fs/nfs/sysctl.c | 2 -
fs/nfs/unlink.c | 45 +--
fs/nfs/write.c | 213 +++++----
fs/nfsd/nfs4callback.c | 8 +-
fs/nfsd/nfs4state.c | 2 +-
fs/nfsd/nfsctl.c | 6 +-
fs/nfsd/nfssvc.c | 4 +-
fs/nfsd/stats.c | 5 +-
include/linux/key.h | 2 +
include/linux/lockd/bind.h | 1 +
include/linux/lockd/lockd.h | 7 +-
include/linux/lockd/xdr4.h | 2 +-
include/linux/nfs.h | 2 +-
include/linux/nfs4.h | 7 +-
include/linux/nfs_fs.h | 46 ++-
include/linux/nfs_fs_i.h | 4 -
include/linux/nfs_fs_sb.h | 23 +-
include/linux/nfs_idmap.h | 22 +-
include/linux/nfs_iostat.h | 2 +-
include/linux/nfs_page.h | 27 +-
include/linux/nfs_xdr.h | 65 ++-
include/linux/sunrpc/auth.h | 2 +
include/linux/sunrpc/bc_xprt.h | 2 +-
include/linux/sunrpc/cache.h | 8 +-
include/linux/sunrpc/clnt.h | 40 +-
include/linux/sunrpc/debug.h | 26 +-
include/linux/sunrpc/metrics.h | 6 +-
include/linux/sunrpc/rpc_pipe_fs.h | 46 ++-
include/linux/sunrpc/sched.h | 24 +-
include/linux/sunrpc/stats.h | 22 +-
include/linux/sunrpc/svc.h | 13 +-
include/linux/sunrpc/svc_xprt.h | 3 +-
include/linux/sunrpc/svcauth.h | 3 +
include/linux/sunrpc/svcauth_gss.h | 2 +
include/linux/sunrpc/svcsock.h | 2 +-
include/linux/sunrpc/xprt.h | 11 +-
include/linux/sunrpc/xprtsock.h | 12 -
include/trace/events/sunrpc.h | 177 +++++++
net/sunrpc/Kconfig | 13 +
net/sunrpc/addr.c | 26 +-
net/sunrpc/auth_gss/auth_gss.c | 216 ++++++---
net/sunrpc/auth_gss/gss_krb5_crypto.c | 7 +-
net/sunrpc/auth_gss/gss_krb5_mech.c | 2 +-
net/sunrpc/auth_gss/gss_krb5_seal.c | 2 +-
net/sunrpc/auth_gss/svcauth_gss.c | 165 +++++--
net/sunrpc/backchannel_rqst.c | 1 +
net/sunrpc/cache.c | 44 +-
net/sunrpc/clnt.c | 548 ++++++++++++++++-----
net/sunrpc/netns.h | 14 +
net/sunrpc/rpc_pipe.c | 501 ++++++++++++--------
net/sunrpc/rpcb_clnt.c | 188 ++++----
net/sunrpc/sched.c | 73 +++-
net/sunrpc/stats.c | 35 +-
net/sunrpc/sunrpc.h | 2 +
net/sunrpc/sunrpc_syms.c | 17 +-
net/sunrpc/svc.c | 98 +++--
net/sunrpc/svc_xprt.c | 51 ++-
net/sunrpc/svcauth_unix.c | 126 +++--
net/sunrpc/svcsock.c | 5 +-
net/sunrpc/sysctl.c | 4 +-
net/sunrpc/xprt.c | 80 ++--
net/sunrpc/xprtrdma/rpc_rdma.c | 9 +-
net/sunrpc/xprtrdma/verbs.c | 17 +-
net/sunrpc/xprtsock.c | 33 +-
security/keys/key.c | 20 +
security/keys/keyctl.c | 18 +-
127 files changed, 5217 insertions(+), 2987 deletions(-)
Andy Adamson (4):
SUNRPC: add sending,pending queue and max slot to xprt stats
NFSv4.1 set highest_used_slotid to NFS4_NO_SLOT
NFSv4.1 handle DS stateid errors
NFSv4.1 cleanup DS stateid error handling
Benny Halevy (1):
pnfs: clean up initiate_file_draining layout lookup
Boaz Harrosh (1):
pnfs-obj: Uglify objio_segment allocation for the sake of the principle :-(
Bryan Schumaker (14):
NFS: Pass a stateid to test_stateid() and free_stateid()
NFS: Call test_stateid() and free_stateid() with correct stateids
NFS: Fall back on old idmapper if request_key() fails
NFS: Keep idmapper include files in one place
NFS: Update idmapper documentation
Created a function for setting timeouts on keys
NFS: Store the legacy idmapper result in the keyring
NFS: Undo changes to idmap.h
NFS: Only define some function when v4.1 is enabled
NFS: Check return value from rpc_queue_upcall()
NFS: Remove nfs4_setup_sequence from generic write code
NFS: Remove nfs4_setup_sequence from generic read code
NFS: Remove nfs4_setup_sequence from generic unlink code
NFS: Remove nfs4_setup_sequence from generic rename code
Chuck Lever (14):
SUNRPC: Use KERN_DEFAULT for debugging printk's
nfs: Clean up debugging in nfs_follow_mountpoint()
NFS: Make nfs_cache_array.size a signed integer
NFS: Clean up debugging in decode_pathname()
NFS: Add debugging messages to NFSv4's CLOSE procedure
SUNRPC: Add API to acquire source address
NFS: Make clientaddr= optional
NFS: Add a client-side function to display NFS file handles
NFS: Simplify arguments of encode_renew()
NFS: Introduce NFS_ATTR_FATTR_V4_LOCATIONS
NFS: Request fh_expire_type attribute in "server caps" operation
NFS: Reduce debugging noise from encode_compound_hdr
NFS: Fix nfs4_verifier memory alignment
SUNRPC: Kill compiler warning when RPC_DEBUG is unset
Dan Carpenter (2):
SUNRPC: remove an unneeded NULL check in xprt_connect()
NFS: null dereference in dev_remove()
Fred Isaman (3):
NFS: remove NFS_PAGE_TAG_LOCKED
NFS: remove nfs_inode radix tree
NFS: ncommit count is being double decremented
Jeff Layton (1):
nfs: remove unneeded NULL pointer check in nfs4_remote_mount
Randy Dunlap (1):
sunrpc: fix stats.h for CONFIG_PROC_FS not enabled
Sachin Bhamare (1):
pnfs-obj: autologin: Add support for protocol autologin
Sachin Prabhu (1):
Try using machine credentials for RENEW calls
Stanislav Kinsbursky (90):
SUNRPC: remove non-exclusive pipe creation from RPC pipefs
SUNRPC: create RPC pipefs superblock per network namespace context
SUNRPC: hold current network namespace while pipefs superblock is active
SUNRPC: send notification events on pipefs sb creation and destruction
SUNRPC: pipefs dentry lookup helper introduced
SUNRPC: put pipefs superblock link on network namespace
SUNRPC: pipefs per-net operations helper introduced
SUNRPC: added debug messages to RPC pipefs
SUNRPC: replace inode lock with pipe lock for RPC PipeFS operations
SUNRPC: split SUNPRC PipeFS pipe data and inode creation
SUNRPC: cleanup PipeFS redundant RPC inode usage
SUNPRC: cleanup RPC PipeFS pipes upcall interface
SUNRPC: cleanup GSS pipes usage
SUNRPC: split SUNPRC PipeFS dentry and private pipe data creation
SUNRPC: handle RPC client pipefs dentries by network namespace aware routines
SUNRPC: handle GSS AUTH pipes by network namespace aware routines
SUNRPC: make SUNPRC clients list per network namespace context
SUNRPC: subscribe RPC clients to pipefs notifications
SUNRPC: remove RPC client pipefs dentries after unregister
SUNRPC: remove RPC pipefs mount point manipulations from RPC clients code
SUNRPC: remove RPC PipeFS mount point reference from RPC client
SUNRPC: split cache creation and PipeFS registration
NFS: split cache creation and PipeFS registration
NFS: handle NFS caches dentries by network namespace aware routines
NFS: DNS resolver cache per network namespace context introduced
NFS: DNS resolver PipeFS notifier introduced
NFS: remove RPC PipeFS mount point references from NFS cache routines
SUNRPC: fix pipe->ops cleanup on pipe dentry unlink
NFS: make NFS client allocated per network namespace context
NFS: pass NFS client owner network namespace to RPC client creation routine
NFS: create callback transports in parent transport network namespace
NFS: handle NFS idmap pipe PipeFS dentries by network namespace aware routines
NFS: idmap PipeFS notifier introduced
NFS: handle blocklayout pipe PipeFS dentry by network namespace aware routines
NFS: blocklayout pipe creation per network namespace context introduced
NFS: blocklayout PipeFS notifier introduced
NFS: remove RPC PipeFS mount point reference from blocklayout routines
SUNRPC: kernel PipeFS mount point creation routines removed
SUNRPC: move rpcbind internals to sunrpc part of network namespace context
SUNRPC: optimize net_ns dereferencing in rpcbind creation calls
SUNRPC: optimize net_ns dereferencing in rpcbind registering calls
SUNRPC: create rpcbind client in passed network namespace context
SUNRPC: register rpcbind programs in passed network namespase context
SUNRPC: parametrize local rpcbind clients creation with net ns
SUNRPC: parametrize rpc_parse_scope_id() by network context
SUNRPC: parametrize rpc_pton6() by network context
SUNRPC: parametrize rpc_pton() by network context
SUNRPC: parametrize rpc_uaddr2sockaddr() by network context
SUNRPC: use proper network namespace in rpcbind RPCBPROC_GETADDR procedure
SUNRPC: pass network namespace to service registering routines
SUNRPC: register service on creation in current network namespace
SUNRPC: unregister service on creation in current network namespace
SUNRPC: cache creation and destruction routines introduced
SUNRPC: create unix gid cache per network namespace
SUNRPC: create GSS auth cache per network namespace
SUNRPC: ip map cache per network namespace cleanup
SUNRPC: generic cache register routines removed
NFS: parse DNS cache in proper network namespace context
NFS: decode destination address in proper network namespace context
SUNRPC: register RPC stats /proc entries in passed network namespace context
SUNRPC: register service stats /proc entries in passed network namespace context
NFS: remove unused nfs4_find_client_no_ident function
SUNRPC: search for service transports in network namespace context
NFS: make nfs_client_list per net ns
NFS: make nfs_volume_list per net ns
NFS: make cb_ident_idr per net ns
NFS: make nfs_client_lock per net ns
NFS: pass proper net rpc_pton() in nfs_dns_resolve_name()
NFS: search for client session id in proper network namespace
NFS: pass current net to rpc_pton() while parsing mount options
NFS: pass transport net to rpc_pton() while parse server name
NFS: build fixed in case of NFS_USE_NEW_IDMAPPER is undefined
SUNRPC: clear svc pools lists helper introduced
SUNRPC: clear svc transports lists helper introduced
SUNRPC: service destruction in network namespace context
SUNRPC: service shutdown function in network namespace context introduced
Lockd: create permanent lockd sockets in current network namespace
Lockd: pernet usage counter introduced
Lockd: per-net up and down routines introduced
LockD: make nlm hosts network namespace aware
LockD: make NSM network namespace aware
Lockd: shutdown NLM hosts in network namespace context
NFS: fix nfs4_find_client_sessionid() arguments list
SUNRPC: init per-net rpcbind spinlock
SUNRPC: release per-net clients lock before calling PipeFS dentries creation
NFS: release per-net clients lock before calling PipeFS dentries creation
SUNRPC: check RPC inode's pipe reference before dereferencing
SUNRPC: move waitq from RPC pipe to RPC inode
NFS: replace global bl_mount_reply with per-net one
NFS: replace global bl_wq with per-net one
Stephen Rothwell (1):
nfs: non void functions must return a value
Steve Dickson (1):
SUNRPC: Adding status trace points
Tom Tucker (2):
xprtrdma: The transport should not bug-check when a dup reply is received
xprtrdma: Remove assumption that each segment is <= PAGE_SIZE
Trond Myklebust (73):
NFS: Remove unnecessary includes from linux/nfs_fs_i.h
NFSv4: Clean up nfs4_get_state_owner
NFSv4: Replace state_owner->so_owner_id with an ida based allocator
NFSv4: Replace lock_owner->ld_id with an ida based allocator
NFSv41: Add a new helper nfs4_init_sequence()
NFSv4: Move contents of struct rpc_sequence into struct nfs_seqid_counter
NFS: Move struct nfs_unique_id into struct nfs_seqid_counter
NFS: Optimise away unnecessary setattrs for open(O_TRUNC);
NFS: Ensure that mmapped pages remain stable during writeback
SUNRPC: Fix potential races in xprt_lock_write_next()
SUNRPC: constify rpc_clnt fields cl_server and cl_protname
SUNRPC: constify rpc_program->name
SUNRPC: constify the rpc_program
SUNRPC: Add trace events to the sunrpc subsystem
NFSv4: Avoid thundering herd issues with nfs_release_seqid
NFS: Use kcalloc() when allocating arrays
SUNRPC: fixup for namespace changes
NFSv4: Don't decode fs_locations if we didn't ask for them...
NFSv4: ACCESS validation doesn't require a full attribute refresh
SUNRPC: Fix up sunrpc trace events
SUNRPC: Change the default limit to the number of TCP slots
NFSv4.1: Convert slotid from u8 to u32
NFSv4.1: Add a module parameter to set the number of session slots
NFS: Initialise the nfs_net->nfs_client_lock
NFSv4: Reduce the footprint of the idmapper
NFSv4: The idmapper now depends on keyring functionality
NFSv4: Further reduce the footprint of the idmapper
SUNRPC: Ensure that we can trace waitqueues when !defined(CONFIG_SYSCTL)
NFS: Ensure that the nfs_client 'net' field is always set
NFS: Ensure struct nfs_client holds a reference to the net namespace
NFSv4.1: Don't call nfs4_deviceid_purge_client() unless we're NFSv4.1
NFSv4.1: Get rid of redundant NFS4CLNT_LAYOUTRECALL tests
NFSv4.1: Get rid of NFS4CLNT_LAYOUTRECALL
NFS: Extend the -overs= mount option to allow 4.x minorversions
NFS: Ensure we display the minor version correctly in /proc/mounts etc.
NFS: Consolidate the parsing of the '-ov4.x' and '-overs=4.x' mount options
SUNRPC: Use RCU to dereference the rpc_clnt.cl_xprt field
SUNRPC: Move clnt->cl_server into struct rpc_xprt
NFS: Fix a compile issue when !CONFIG_NFS_V4_1
NFS: Fix a typo in _nfs_display_fhandle
NFS: Properly handle the case where the delegation is revoked
NFSv4.1: Fix matching of the stateids when returning a delegation
NFSv4: Further clean-ups of delegation stateid validation
NFSv4: Rename encode_stateid() to encode_open_stateid()
NFSv4: Add a helper for encoding opaque data
NFSv4: Add a helper for encoding stateids
NFSv4: Rename nfs4_copy_stateid()
NFSv4: Add helpers for basic copying of stateids
NFSv4: Simplify the struct nfs4_stateid
NFSv4: Minor clean ups for encode_string()
NFSv4: Add a helper for encoding NFSv4 sequence ids
NFSv4: Add a encode op helper
NFSv4: Cleanup - convert more functions to use encode_op_hdr
NFSv4: More xdr cleanups
NFSv4: Add a helper encode_uint64
NFSv4: Don't free the nfs4_lock_state until after the release_lockowner
NFSv4: Return the delegation if the server returns NFS4ERR_OPENMODE
NFS: Don't copy read delegation stateids in setattr
NFSv4: Clean up nfs4_select_rw_stateid()
NFSv4.0: Re-establish the callback channel on NFS4ERR_CB_PATHDOWN
NFS: Fix a number of sparse warnings
SUNRPC: Fix a few sparse warnings
SUNRPC: Don't use variable length automatic arrays in kernel code
NFSv4: Rate limit the state manager warning messages
NFS: Fix a compile error when !defined NFS_DEBUG
NFSv4.1: Clean ups and bugfixes for the pNFS read/writeback/commit code
NFSv4.1: Fix a few issues in filelayout_commit_pagelist
SUNRPC: We must not use list_for_each_entry_safe() in rpc_wake_up()
NFSv4: It is not safe to dereference lsp->ls_state in release_lockowner
NFS: Use cond_resched_lock() to reduce latencies in the commit scans
SUNRPC/NFS: Add Kbuild dependencies for NFS_DEBUG/RPC_DEBUG
SUNRPC/LOCKD: Fix build warnings when CONFIG_SUNRPC_DEBUG is undefined
NFS: Fix more NFS debug related build warnings
Vitaliy Gusev (1):
nfs41: Verify channel's attributes accordingly to RFC v2
Vivek Trivedi (1):
NFS: fix sb->s_id in nfs debug prints
Weston Andros Adamson (11):
NFS: printks in fs/nfs/ should start with NFS:
NFS: start printks w/ NFS: even if __func__ shown
NFS: Fix comparison between DS address lists
NFS: add mount options 'v4.0' and 'v4.1'
NFS: dont allow minorversion= opt when vers != 4
NFS: include filelayout DS rpc stats in mountstats
NFSv4: Send implementation id with exchange_id
NFSv4: fix server_scope memory leak
NFSv4: parse and display server implementation ids
NFS: add filehandle crc for debug display
NFS: add fh_crc to debug output
William Dauchy (1):
NFSv4: Rate limit the state manager for lock reclaim warning messages
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 10+ messages in thread
* [GIT PULL] Please pull NFS client updates
@ 2011-05-29 16:30 Trond Myklebust
0 siblings, 0 replies; 10+ messages in thread
From: Trond Myklebust @ 2011-05-29 16:30 UTC (permalink / raw)
To: Linus Torvalds
Hi Linus,
Please pull from the "nfs-for-2.6.40" branch of the repository at
git pull git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git nfs-for-2.6.40
This will update the following files through the appended changesets.
Cheers,
Trond
----
fs/nfs/delegation.c | 14 +--
fs/nfs/inode.c | 8 +-
fs/nfs/nfs4proc.c | 9 +-
fs/nfs/nfs4state.c | 6 +-
fs/nfs/nfsroot.c | 2 +-
fs/nfs/pnfs.c | 2 +-
include/linux/sunrpc/msg_prot.h | 1 +
include/linux/sunrpc/xprt.h | 3 +-
net/sunrpc/clnt.c | 29 ++--
net/sunrpc/rpcb_clnt.c | 97 ++++++++--
net/sunrpc/svc.c | 2 +
net/sunrpc/xprtsock.c | 435 +++++++++++++++++++++++++++++++++++++--
12 files changed, 542 insertions(+), 66 deletions(-)
commit 176e21ee2ec89cae8d45cf1a850ea45a45428fb8
Author: Chuck Lever <chuck.lever@ORACLE.COM>
Date: Mon May 9 15:22:44 2011 -0400
SUNRPC: Support for RPC over AF_LOCAL transports
TI-RPC introduces the capability of performing RPC over AF_LOCAL
sockets. It uses this mainly for registering and unregistering
local RPC services securely with the local rpcbind, but we could
also conceivably use it as a generic upcall mechanism.
This patch provides a client-side only implementation for the moment.
We might also consider a server-side implementation to provide
AF_LOCAL access to NLM (for statd downcalls, and such like).
Autobinding is not supported on kernel AF_LOCAL transports at this
time. Kernel ULPs must specify the pathname of the remote endpoint
when an AF_LOCAL transport is created. rpcbind supports registering
services available via AF_LOCAL, so the kernel could handle it with
some adjustment to ->rpcbind and ->set_port. But we don't need this
feature for doing upcalls via well-known named sockets.
This has not been tested with ULPs that move a substantial amount of
data. Thus, I can't attest to how robust the write_space and
congestion management logic is.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 559649efb9b0d248541933197bdf7b75529da457
Author: Chuck Lever <chuck.lever@oracle.com>
Date: Mon May 9 15:23:04 2011 -0400
SUNRPC: Remove obsolete comment
Clean up. The documenting comment at the top of net/sunrpc/clnt.c is
out of date. We adopted BSD's RTO estimation mechanism years ago.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 7402ab19cdd5943c7dd4f3399afe3abda8077ef5
Author: Chuck Lever <chuck.lever@oracle.com>
Date: Mon May 9 15:22:55 2011 -0400
SUNRPC: Use AF_LOCAL for rpcbind upcalls
As libtirpc does in user space, have our registration API try using an
AF_LOCAL transport first when registering and unregistering.
This means we don't chew up privileged ports, and our registration is
bound to an "owner" (the effective uid of the process on the sending
end of the transport). Only that "owner" may unregister the service.
The kernel could probe rpcbind via an rpcbind query to determine
whether rpcbind has an AF_LOCAL service. For simplicity, we use the
same technique that libtirpc uses: simply fail over to network
loopback if creating an AF_LOCAL transport to the well-known rpcbind
service socket fails.
This means we open-code the pathname of the rpcbind socket in the
kernel. For now we have to do that anyway because the kernel's
RPC over AF_LOCAL implementation does not support autobind. That may
be undesirable in the long term.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit da09eb93033e7204cb3e3f3140b46cf108c42c8f
Author: Chuck Lever <chuck.lever@oracle.com>
Date: Mon May 9 15:22:25 2011 -0400
SUNRPC: Clean up use of curly braces in switch cases
Clean up. Preferred style is not to use curly braces around
switch cases. I'm about to add another case that needs a third
type cast.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 4251c94833aa516c1fc7a0f8f504a26eadd4b91e
Author: Chuck Lever <chuck.lever@oracle.com>
Date: Mon May 9 15:22:15 2011 -0400
NFS: Revert NFSROOT default mount options
Marek Belisko <marek.belisko@gmail.com> reports that recent attempts
to fix regressions in NFSROOT have broken his configuration:
> After update from 2.6.38-rc8 to 2.6.38 is mounting rootfs over nfs not possible.
> Log:
> VFS: Mounted root (nfs filesystem) on device 0:14.
> Freeing init memory: 132K
> nfs: server 10.146.1.21 not responding, still trying
> nfs: server 10.146.1.21 not responding, still trying
>
> This is never ending. I make short bisect (not too much commits
> between versions)
> and bad commit was reported: 53d4737580535e073963b91ce87d4216e434fab5
>
> NFS: NFSROOT should default to "proto=udp"
>
> I've tested on mini2440 board (DM9000, static IP).
> Is there some missing option or something else to be checked?
An examination of a network trace captured during the failure shows
that the mount is actually succeeding, but that the client is not
seeing READ replies larger than 16KB. This could be a local packet
filtering issue on the client, but we didn't troubleshoot this
further because of the reported "git bisect" result.
Last fall we removed the ad hoc mount option parser in
fs/nfs/nfsroot.c in favor of using the main parser in fs/nfs/super.c
(see commit 56463e50 "NFS: Use super.c for NFSROOT mount option
parsing"). That commit changed the default NFSROOT mount options to
be the same as those employed by user space mounts.
As it turns out, these new default mount options are not tolerated by
many embedded systems. So far these problems have been due to
specific behavior of certain embedded NICs. The NFS community does
not have such hardware on hand for running tests.
Commit 53d47375 recently introduced a clean way to specify default
mount options for NFSROOT, so we can now easily restore the
traditional defaults for NFSROOT:
vers=2,udp,rsize=4096,wsize=4096
This should revert the new default NFSROOT mount options introduced
with commit 56463e50.
Tested-by: Marek Belisto <marek.belisto@open-nandra.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 61677eeec29e87edc03a1061ae0a04b92507450d
Author: Chuck Lever <chuck.lever@oracle.com>
Date: Mon May 9 15:22:34 2011 -0400
SUNRPC: Rename xs_encode_tcp_fragment_header()
Clean up: Use a more generic name for xs_encode_tcp_fragment_header();
it's appropriate to use for all stream transport types. We're about
to add new stream transport.
Also, move it to a place where it is more easily shared amongst the
various send_request methods. And finally, replace the "htonl" macro
invocation with its modern equivalent.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 26f04dde681c6a48b2bacfc5fe01fef204419b0c
Author: Lai Jiangshan <laijs@cn.fujitsu.com>
Date: Sun May 1 06:21:54 2011 -0700
nfs,rcu: convert call_rcu(nfs_free_delegation_callback) to kfree_rcu()
The rcu callback nfs_free_delegation_callback() just calls a kfree(),
so we use kfree_rcu() instead of the call_rcu(nfs_free_delegation_callback).
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 4b8ee2b82e8b0b6e17ee33feb74fcdb5c6d8dbdd
Author: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Date: Fri May 20 01:34:46 2011 +0400
nfs41: Correct offset for LAYOUTCOMMIT
A client sends offset to MDS as it was seen by DS. As result,
file size after copy is only half of original file size in case
of 2 DS.
Signed-off-by: Vitaliy Gusev <gusev.vitaliy@nexenta.com>
Cc: stable@kernel.org [2.6.39]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 60c16ea877546e559988a8b1e4f4256afbbd83e6
Author: Harshula Jayasuriya <harshula@redhat.com>
Date: Mon May 23 22:52:11 2011 +1000
NFS: nfs_update_inode: print current and new inode size in debug output
Hi Trond,
In nfs_update_inode debug output, print the current and new inode
size when the file size changes on the NFS server.
Signed-off-by: Harshula Jayasuriya <harshula@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 444f72fe7e7b5f4db34cee933fa3546ebb8e9122
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Thu May 26 14:26:35 2011 -0400
NFSv4.1: Fix the handling of NFS4ERR_SEQ_MISORDERED errors
Currently, the call to nfs4_schedule_session_recovery() will actually just
result in a test of the lease when what we really want is to force a
session reset.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
commit 0ced63d1a245ac11241a5d37932e6d04d9c8040d
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Thu May 26 14:26:35 2011 -0400
NFSv4: Handle expired stateids when the lease is still valid
Currently, if the server returns NFS4ERR_EXPIRED in reply to a READ or
WRITE, but the RENEW test determines that the lease is still active, we
fail to recover and end up looping forever in a READ/WRITE + RENEW death
spiral.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
commit fe19a96b10032035a35779f42ad59e35d6dd8ffd
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Fri Mar 18 20:21:23 2011 -0400
SUNRPC: Deal with the lack of a SYN_SENT sk->sk_state_change callback...
The TCP connection state code depends on the state_change() callback
being called when the SYN_SENT state is set. However the networking layer
doesn't actually call us back in that case.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-12-13 18:14 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 15:35 [GIT PULL] Please pull NFS client updates Trond Myklebust
2022-12-13 18:13 ` pr-tracker-bot
-- strict thread matches above, loose matches on Subject: below --
2015-07-02 16:21 Trond Myklebust
2015-02-20 16:16 Trond Myklebust
2014-06-10 21:42 Trond Myklebust
2014-03-09 16:22 Trond Myklebust
2013-07-11 18:18 Myklebust, Trond
2013-07-08 17:59 Myklebust, Trond
2012-03-22 14:59 Myklebust, Trond
2011-05-29 16:30 Trond Myklebust
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).