projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1afb67
)
[XFS] Clear XBF_READ_AHEAD flag on I/O completion.
author
Lachlan McIlroy
<lachlan@sgi.com>
Fri, 23 Nov 2007 05:31:00 +0000
(16:31 +1100)
committer
Lachlan McIlroy
<lachlan@redback.melbourne.sgi.com>
Mon, 10 Dec 2007 02:46:45 +0000
(13:46 +1100)
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>
fs/xfs/linux-2.6/xfs_buf.c
patch
|
blob
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_buf.c
b/fs/xfs/linux-2.6/xfs_buf.c
index
48bf477
..
43d6c7a
100644
(file)
--- 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;