Christoph Hellwig a9ab5e8406 nfs: page cache invalidation for dio
Make sure to properly invalidate the pagecache before performing direct I/O,
so that no stale pages are left around.  This matches what the generic
direct I/O code does.  Also take the i_mutex over the direct write submission
to avoid the lifelock vs truncate waiting for i_dio_count to decrease, and
to avoid having the pagecache easily repopulated while direct I/O is in
progrss.  Again matching the generic direct I/O code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-01-13 17:29:50 -05:00
..
2013-11-13 12:09:12 +09:00
2014-01-13 17:29:50 -05:00
2013-11-09 00:16:32 -05:00
2013-11-22 08:37:47 -08:00
2013-12-06 08:32:59 -08:00
2013-11-09 00:16:20 -05:00
2013-11-09 00:16:19 -05:00
2013-11-09 00:16:19 -05:00
2013-11-09 00:16:31 -05:00
2013-11-09 00:16:20 -05:00