summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@sgi.com>2007-11-23 16:31:00 +1100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2007-12-10 13:46:45 +1100
commit77be55a5a13d9c7ddf780a93861f2fba33f8be1a (patch)
tree6ac9c9f5f8acb57d49bd58169d3bca54f03ae1d0 /fs/xfs/linux-2.6
parentd1afb678ce77b930334a8a640a05b8e68178a377 (diff)
downloadtalos-op-linux-77be55a5a13d9c7ddf780a93861f2fba33f8be1a.tar.gz
talos-op-linux-77be55a5a13d9c7ddf780a93861f2fba33f8be1a.zip
[XFS] Clear XBF_READ_AHEAD flag on I/O completion.
SGI-PV: 972554 SGI-Modid: xfs-linux-melb:xfs-kern:30128a Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 48bf477cbca5..43d6c7a290e2 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -1025,7 +1025,7 @@ xfs_buf_ioend(
xfs_buf_t *bp,
int schedule)
{
- bp->b_flags &= ~(XBF_READ | XBF_WRITE);
+ bp->b_flags &= ~(XBF_READ | XBF_WRITE | XBF_READ_AHEAD);
if (bp->b_error == 0)
bp->b_flags |= XBF_DONE;
OpenPOWER on IntegriCloud