]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Remove unused FLUSH_SYNC support in nfs_initiate_pgio()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 28 Mar 2020 15:39:29 +0000 (11:39 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 28 Mar 2020 15:54:20 +0000 (11:54 -0400)
commit0c0db03b8cf603ed2fa645acda9a6b2cdc2249ea
treef83cb622f1a0576eccc82f1764dbdf1fcb6c9798
parent9ad194b1ca2bfa50ec2a4c4a712ca56b327920f3
NFS: Remove unused FLUSH_SYNC support in nfs_initiate_pgio()

If the FLUSH_SYNC flag is set, nfs_initiate_pgio() will currently
wait for completion, and then return the status of the I/O operation.
What we actually want to report in nfs_pageio_doio() is whether or
not the RPC call was launched successfully, whereas actual I/O
status is intended handled in the reply callbacks.

Since FLUSH_SYNC is never set by any of the callers anyway, let's
just remove that code altogether.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pagelist.c