Skip to content

Btrfs: Direct I/O read rebased.

jim owens linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest18 patches 8 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18mm: export use_mm and unuse_mm for filesystem modules.mm/mmu_context.c+4 -00 replies
2/18Btrfs: Do not limit RAID1 and DUP transfer length to one stripe.fs/btrfs/volumes.c+3 -30 replies
3/18Btrfs: __btrfs_map_block should not set length more than inputfs/btrfs/extent-tree.c fs/btrfs/inode.c fs/btrfs/volumes.c+7 -100 replies
4/18Btrfs: Reorder __btrfs_map_block to make code more efficient.fs/btrfs/volumes.c+24 -410 replies
5/18Btrfs: btrfs_discard_extent must use WRITE with btrfs_map_block.fs/btrfs/extent-tree.c+1 -10 replies
6/18Btrfs: remove dead code for unplugging pages.fs/btrfs/disk-io.c fs/btrfs/volumes.c fs/btrfs/volumes.h+20 -1130 replies
7/18Btrfs: reduce memory use in compress/decompress workspace.fs/btrfs/zlib.c+69 -770 replies
8/18Btrfs: split btrfs_map_block into two parts for direct I/O.fs/btrfs/volumes.c fs/btrfs/volumes.h+62 -330 replies
9/18Btrfs: add direct I/O helper routines to decode em map_lookup.fs/btrfs/volumes.c fs/btrfs/volumes.h+18 -00 replies
10/18Btrfs: add direct I/O helper to process inline compressed extents.fs/btrfs/extent_io.c fs/btrfs/extent_io.h+22 -20 replies
11/18Btrfs: add direct I/O checksum option to btrfs_lookup_csums_range.fs/btrfs/ctree.h fs/btrfs/file-item.c fs/btrfs/inode.c +2 more+33 -80 replies
12/18Btrfs: add direct I/O helper to return mirror count from extent_map.fs/btrfs/volumes.c fs/btrfs/volumes.h+15 -80 replies
13/18Btrfs: add decompression code for direct I/O.fs/btrfs/compression.h fs/btrfs/zlib.c+154 -80 replies
14/18Btrfs: add multi-device minimum logical block size for direct I/O.fs/btrfs/volumes.c fs/btrfs/volumes.h+26 -10 replies
15/18Btrfs: change btrfs_get_extent for direct I/O merges.fs/btrfs/inode.c+13 -430 replies
16/18Btrfs: change ordered data tree search to use start and length.fs/btrfs/file.c fs/btrfs/inode.c fs/btrfs/ioctl.c +2 more+112 -2280 replies
17/18Btrfs: Full direct I/O and AIO read implementation.fs/btrfs/dio.c+2001 -08 replies
18/18Btrfs: enable direct I/O read support.fs/btrfs/Makefile fs/btrfs/inode.c+3 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH V3 00/18] Btrfs: Direct I/O read rebased.

Here is the complete direct I/O read patch series rebased onto the current btrfs-unstable and tested against 2.6.33.

I have not done clean up of the diocb/extcb and did not simplify the user memory handling yet.

There still is a problem with the wakeup of the submit thread in btrfs_dio_wait(). With fsx on a 2-core x86-64 it will eventually hang, as in within 2 hours. Either I am missing the wakeup or miscounting the done state and going back to sleep with all I/O finished.

jim