android_kernel_google_msm/fs/gfs2
Steven Whitehouse d23a87af40 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-08 09:42:12 -08:00
..
acl.c
acl.h
aops.c GFS2: Fix incorrect invalidation for DIO/buffered I/O 2014-01-08 09:42:12 -08:00
bmap.c GFS2: Make sure rindex is uptodate before starting transactions 2012-04-05 10:20:10 +01:00
bmap.h
dentry.c
dir.c GFS2: Make sure rindex is uptodate before starting transactions 2012-04-05 10:20:10 +01:00
dir.h
export.c tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking 2012-10-21 09:27:57 -07:00
file.c get rid of pointless includes of ext2_fs.h 2012-03-31 16:03:15 -04:00
gfs2.h
glock.c
glock.h
glops.c
glops.h
incore.h
inode.c GFS2: Make sure rindex is uptodate before starting transactions 2012-04-05 10:20:10 +01:00
inode.h
Kconfig GFS2: use depends instead of select in kconfig 2012-03-26 09:18:02 +01:00
lock_dlm.c GFS2: Instruct DLM to avoid queue convert slowdown 2012-04-24 13:26:50 +01:00
log.c
log.h
lops.c GFS2: Test bufdata with buffer locked and gfs2_log_lock held 2013-01-17 08:51:06 -08:00
lops.h
main.c
Makefile
meta_io.c
meta_io.h
ops_fstype.c GFS2: don't hold s_umount over blkdev_put 2014-01-08 09:42:12 -08:00
quota.c
quota.h
recovery.c
recovery.h
rgrp.c GFS2: Make sure rindex is uptodate before starting transactions 2012-04-05 10:20:10 +01:00
rgrp.h
super.c
super.h
sys.c
sys.h
trace_gfs2.h
trans.c GFS2: Test bufdata with buffer locked and gfs2_log_lock held 2013-01-17 08:51:06 -08:00
trans.h
util.c
util.h
xattr.c GFS2: Make sure rindex is uptodate before starting transactions 2012-04-05 10:20:10 +01:00
xattr.h