xfs: don't expect xfs headers to be in subdirectories
[firefly-linux-kernel-4.4.55.git] / fs / xfs / linux-2.6 / xfs_buf.c
index 6bddce40de727c451e699c424f08212b0f0f24e5..c57836dc778f9c9263770516ba0248dfe20c8aab 100644 (file)
@@ -1223,6 +1223,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);