diff options
author | 2013-11-14 08:50:33 -0800 | |
---|---|---|
committer | 2014-01-13 17:29:50 -0500 | |
commit | d0b9875d65c1abcc9d405d648660dfb919353959 (patch) | |
tree | c896bd0432fcd79e625f51ab081ef2b21ddadb7e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfs: merge nfs_direct_write into nfs_file_direct_write (diff) | |
download | linux-dev-d0b9875d65c1abcc9d405d648660dfb919353959.tar.xz linux-dev-d0b9875d65c1abcc9d405d648660dfb919353959.zip |
nfs: take i_mutex during direct I/O reads
We'll need the i_mutex to prevent i_dio_count from incrementing while
truncate is waiting for it to reach zero, and protects against having
the pagecache repopulated after we flushed it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions