diff options
author | Christoph Hellwig | 2013-11-14 17:50:30 +0100 |
---|---|---|
committer | Trond Myklebust | 2014-01-13 23:29:49 +0100 |
commit | 1f90ee27461e31a1c18e5d819f6ea6f5c7304b16 (patch) | |
tree | 96a85b91576188ed1921c672d96adabe3a025bfa /drivers/parport/TODO-parport | |
parent | nfs: defer inode_dio_done call until size update is done (diff) | |
download | kernel-qcow2-linux-1f90ee27461e31a1c18e5d819f6ea6f5c7304b16.tar.gz kernel-qcow2-linux-1f90ee27461e31a1c18e5d819f6ea6f5c7304b16.tar.xz kernel-qcow2-linux-1f90ee27461e31a1c18e5d819f6ea6f5c7304b16.zip |
nfs: increment i_dio_count for reads, too
i_dio_count is used to protect dio access against truncate. We want
to make sure there are no dio reads pending either when doing a
truncate. I suspect on plain NFS things might work even without
this, but once we use a pnfs layout driver that access backing devices
directly things will go bad without the proper synchronization.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'drivers/parport/TODO-parport')
0 files changed, 0 insertions, 0 deletions