]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/cachefiles/rdwr.c
fscache: convert operation to use workqueue instead of slow-work
[net-next-2.6.git] / fs / cachefiles / rdwr.c
index 0f0d41fbb03f96466393fed9766776d3113d4153..0e3c0924cc3a3f01f648731b1e3baed15a7ce1ad 100644 (file)
@@ -422,7 +422,7 @@ int cachefiles_read_or_alloc_page(struct fscache_retrieval *op,
        shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits;
 
        op->op.flags &= FSCACHE_OP_KEEP_FLAGS;
-       op->op.flags |= FSCACHE_OP_FAST;
+       op->op.flags |= FSCACHE_OP_ASYNC;
        op->op.processor = cachefiles_read_copier;
 
        pagevec_init(&pagevec, 0);
@@ -729,7 +729,7 @@ int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op,
        pagevec_init(&pagevec, 0);
 
        op->op.flags &= FSCACHE_OP_KEEP_FLAGS;
-       op->op.flags |= FSCACHE_OP_FAST;
+       op->op.flags |= FSCACHE_OP_ASYNC;
        op->op.processor = cachefiles_read_copier;
 
        INIT_LIST_HEAD(&backpages);