linux/fs/nfs
Trond Myklebust 86d80f9734 NFSv4.1/pnfs: Fix atomicity of commit list updates
pnfs_layout_mark_request_commit() needs to ensure that it adds the
request to the commit list atomically with all the other updates
in order to prevent corruption to buckets[ds_commit_idx].wlseg
due to races with pnfs_generic_clear_request_commit().

Fixes: 338d00cfef ("pnfs: Refactor the *_layout_mark_request_commit...")
Cc: stable@vger.kernel.org # v4.0+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-08-10 19:08:13 -04:00
..
blocklayout
filelayout
flexfilelayout NFSv4.2/flexfiles: Fix a typo in the flexfiles layoutstats code 2015-07-08 20:25:41 +02:00
objlayout
cache_lib.c
cache_lib.h
callback.c nfs: deny backchannel RPCs with an incorrect authflavor instead of dropping them 2015-06-11 14:06:34 -04:00
callback.h
callback_proc.c NFS: Ensure that we update the sequence id under the slot table lock 2015-06-11 21:15:52 -04:00
callback_xdr.c NFS: Convert use of __constant_htonl to htonl 2015-06-10 18:57:59 -04:00
client.c NFS: Remove the "NFS_CAP_CHANGE_ATTR" capability 2015-07-22 17:15:54 -04:00
delegation.c
delegation.h
dir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-07-04 19:36:06 -07:00
direct.c
dns_resolve.c
dns_resolve.h
file.c sunrpc: keep a count of swapfiles associated with the rpc_clnt 2015-06-10 18:26:14 -04:00
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c NFS: Remove the "NFS_CAP_CHANGE_ATTR" capability 2015-07-22 17:15:54 -04:00
internal.h NFSv4.1/pnfs: Fix atomicity of commit list updates 2015-08-10 19:08:13 -04:00
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c
netns.h
nfs.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h NFSv.2/pnfs Add a LAYOUTSTATS rpc function 2015-06-24 10:17:37 -04:00
nfs4client.c nfs: Drop bad comment in nfs41_walk_client_list() 2015-07-01 11:30:59 -04:00
nfs4file.c nfs: verify open flags before allowing open 2015-06-25 19:38:00 -04:00
nfs4getroot.c nfs: Remove invalid NFS_ATTR_FATTR_V4_REFERRAL checking in nfs4_get_rootfh 2015-07-01 11:31:22 -04:00
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFS client bugfixes for Linux 4.2 2015-07-28 09:37:44 -07:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs4state.c NFSv4.1: Handle SEQ4_STATUS_BACKCHANNEL_FAULT correctly 2015-07-05 15:50:18 -04:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h
nfs4xdr.c NFSv.2/pnfs Add a LAYOUTSTATS rpc function 2015-06-24 10:17:37 -04:00
nfs42.h NFSv.2/pnfs Add a LAYOUTSTATS rpc function 2015-06-24 10:17:37 -04:00
nfs42proc.c NFSv4.2: handle NFS-specific llseek errors 2015-07-27 11:16:25 -04:00
nfs42xdr.c NFSv4.2: Fix up a decoding error in layoutstats 2015-06-27 11:30:57 -04:00
nfsroot.c
nfstrace.c
nfstrace.h
pagelist.c NFS: Don't clear desc->pg_moreio in nfs_do_recoalesce() 2015-07-27 10:33:12 -04:00
pnfs.c nfs: plug memory leak when ->prepare_layoutcommit fails 2015-07-28 09:07:02 -04:00
pnfs.h nfs: provide pnfs_report_layoutstat when NFS42 is disabled 2015-06-26 14:01:37 -04:00
pnfs_dev.c
pnfs_nfs.c NFSv4.1/pnfs: Fix atomicity of commit list updates 2015-08-10 19:08:13 -04:00
proc.c
read.c
super.c
symlink.c
sysctl.c
unlink.c
write.c NFSv4.1/pnfs: Fix atomicity of commit list updates 2015-08-10 19:08:13 -04:00