Files
linux/fs/gfs2
Steven Whitehouse 8553459e73 GFS2: Fix incorrect invalidation for DIO/buffered I/O
commit dfd11184d8 upstream.

In patch 209806aba9 we allowed
local deferred locks to be granted against a cached exclusive
lock. That opened up a corner case which this patch now
fixes.

The solution to the problem is to check whether we have cached
pages each time we do direct I/O and if so to unmap, flush
and invalidate those pages. Since the glock state machine
normally does that for us, mostly the code will be a no-op.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-09 12:24:24 -08:00
..
2011-07-25 14:30:23 -04:00
2010-09-20 11:18:16 +01:00
2008-06-27 09:39:44 +01:00
2011-10-21 12:39:41 +01:00
2013-06-03 16:40:22 +01:00
2013-04-04 09:52:50 +01:00
2011-05-10 13:12:49 +01:00
2013-05-24 13:47:13 +01:00
2013-06-03 16:40:22 +01:00
2013-01-29 10:29:05 +00:00
2012-01-11 09:23:05 +00:00
2013-02-13 12:21:40 +00:00
2009-12-16 12:16:49 -05:00