]> git.baikalelectronics.ru Git - kernel.git/commit
Revert commit 2eb9f1a9d80a ("pNFS: Don't send COMMITs to the DSes if...")
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Jul 2017 23:10:59 +0000 (19:10 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Jul 2017 19:28:21 +0000 (15:28 -0400)
commit5c051164a1d533cba0ad5fa59b9054cbf04dae1a
tree08d79c933859686df4b902b86f247cd17b95ce14
parentda8fdafce8abec5ca0782b0f8a99a2831df17e37
Revert commit 2eb9f1a9d80a ("pNFS: Don't send COMMITs to the DSes if...")

Doing the test without taking any locks is racy, and so really it makes
more sense to do it in the flexfiles code (which is the only case that
cares).

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