projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef3e66
)
Btrfs: Always use the async submission queue for checksummed writes
author
Chris Mason
<chris.mason@oracle.com>
Tue, 27 May 2008 14:52:17 +0000
(10:52 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000
(11:04 -0400)
This avoids IO stalls and poorly ordered IO from inline writers mixing in
with the async submission queue
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index d8a256d3c83a4123c9fd67f7f88bb7d06578b821..016c0c0226ed20a60a1fb0922a1b3df013d70511 100644
(file)
--- a/
fs/btrfs/disk-io.c
+++ b/
fs/btrfs/disk-io.c
@@
-434,13
+434,6
@@
int btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct inode *inode,
{
struct async_submit_bio *async;
- /*
- * inline writerback should stay inline, only hop to the async
- * queue if we're pdflush
- */
- if (!current_is_pdflush())
- return submit_bio_hook(inode, rw, bio, mirror_num);
-
async = kmalloc(sizeof(*async), GFP_NOFS);
if (!async)
return -ENOMEM;