]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix a COMMIT race in pNFS
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Jul 2017 23:10:56 +0000 (19:10 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Jul 2017 19:28:21 +0000 (15:28 -0400)
commita1bd81c0b4b2f063d7ec2d6c7aee5b62997f2686
treea146f72402513255e27a62729cc51a499e919bba
parent2b413c454eb68eb8a36956eac5871ed21ccd1b68
NFS: Fix a COMMIT race in pNFS

We must make sure that cinfo->ds->nwritten is in sync with the
commit list, since it is checked as part of pnfs_scan_commit_lists().

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pnfs_nfs.c