diff options
| -rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.c | 3 |
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( | |||
| 1224 | rw = READ; | 1224 | rw = READ; |
| 1225 | } | 1225 | } |
| 1226 | 1226 | ||
| 1227 | /* we only use the buffer cache for meta-data */ | ||
| 1228 | rw |= REQ_META; | ||
| 1229 | |||
| 1227 | next_chunk: | 1230 | next_chunk: |
| 1228 | atomic_inc(&bp->b_io_remaining); | 1231 | atomic_inc(&bp->b_io_remaining); |
| 1229 | nr_pages = BIO_MAX_SECTORS >> (PAGE_SHIFT - BBSHIFT); | 1232 | nr_pages = BIO_MAX_SECTORS >> (PAGE_SHIFT - BBSHIFT); |
