Displaying 1 result from an estimated 1 matches for "8b82309".
Did you mean:
82309
2011 Apr 05
0
[PATCH] Btrfs: don't split dio bios if we don't have to
...gth and if we are under that then go ahead
and submit the original bio. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
---
fs/btrfs/inode.c | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 3476760..8b82309 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -5960,13 +5960,6 @@ static int btrfs_submit_direct_hook(int rw, struct btrfs_dio_private *dip,
u32 *csums = dip->csums;
int ret = 0;
- bio = btrfs_dio_bio_alloc(orig_bio->bi_bdev, start_sector, GFP_NOFS);
- if (!bio)
- return -ENO...