From fae5ace2bd456c16d0edf68876d9a08a2cefafdd Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 26 Jul 2011 15:06:44 +0000 Subject: [PATCH] --- yaml --- r: 260879 b: refs/heads/master c: 34951f5cb72b1e3a89a21581cb21e2d5b6a104a4 h: refs/heads/master i: 260877: 4cddda51af2638084892274b805cff1aa3e6dd1a 260875: 6744673aff7177950a30e04e199fcc653bb944e5 260871: 11789e60db72fd576d23a71b7ac6ae2193a27073 260863: a1ab4332b0dce01ed582d44bb043b732beaf4e0d v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_buf.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 577b06591fff..98673ece3d32 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1c4f33296e8e79a6bbfffc8457d547ffc31d5dee +refs/heads/master: 34951f5cb72b1e3a89a21581cb21e2d5b6a104a4 diff --git a/trunk/fs/xfs/linux-2.6/xfs_buf.c b/trunk/fs/xfs/linux-2.6/xfs_buf.c index b2b411985591..d1fe74506c4c 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_buf.c +++ b/trunk/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);