]> git.baikalelectronics.ru Git - kernel.git/commit
Revert commit 8c3e0ed1d533 ("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)
commitdd67e8519d51a3517a2c1733220a558de49a2bb3
tree08d79c933859686df4b902b86f247cd17b95ce14
parent51203e0f13786647802b72155ff0160a8f1024fd
Revert commit 8c3e0ed1d533 ("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