aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 13:41:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 13:41:51 -0700
commit597a67e0ba758e3d2239c81fbb648c6e69ec30a2 (patch)
treee2b6146df41943e7f87168fe3f5825722b434223 /fs/xfs/linux-2.6/xfs_buf.c
parent28890d3598c352ae065b560e0fded3e79c800ba1 (diff)
parent510792ee29770a38dd409bf2b469ade2fea9eb52 (diff)
downloadkernel_replicant_linux-597a67e0ba758e3d2239c81fbb648c6e69ec30a2.tar.gz
kernel_replicant_linux-597a67e0ba758e3d2239c81fbb648c6e69ec30a2.tar.bz2
kernel_replicant_linux-597a67e0ba758e3d2239c81fbb648c6e69ec30a2.zip
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
* 'for-linus' of git://oss.sgi.com/xfs/xfs: xfs: optimize the negative xattr caching xfs: prevent against ioend livelocks in xfs_file_fsync xfs: flag all buffers as metadata xfs: encapsulate a block of debug code
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index b2b411985591..d1fe74506c4c 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -1224,6 +1224,9 @@ _xfs_buf_ioapply(
rw = READ;
}
+ /* we only use the buffer cache for meta-data */
+ rw |= REQ_META;
+
next_chunk:
atomic_inc(&bp->b_io_remaining);
nr_pages = BIO_MAX_SECTORS >> (PAGE_SHIFT - BBSHIFT);