btrfs: some speedups around nowait dio
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: avoid blocking on page locks with nowait dio on compressed rangefs/ | +26 | 0 replies | |
| 2/8 | btrfs: avoid blocking nowait dio when locking file rangefs/ | +23 | 0 replies | |
| 3/8 | btrfs: avoid double nocow check when doing nowait dio writesfs/ fs/ | +39 | 0 replies | |
| 4/8 | btrfs: stop allocating a path when checking if cross reference existsfs/ fs/ fs/ | +7 | 0 replies | |
| 5/8 | btrfs: free path at can_nocow_extent() before checking for checksum itemsfs/ | +8 | 0 replies | |
| 6/8 | btrfs: release path earlier at can_nocow_extent()fs/ | +2 | 0 replies | |
| 7/8 | btrfs: avoid blocking when allocating context for nowait dio read/writefs/ | +9 | 0 replies | |
| 8/8 | btrfs: avoid blocking on space revervation when doing nowait dio writesfs/ fs/ fs/ +5 more | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] btrfs: some speedups around nowait dio
From: Filipe Manana <[email protected]>
This patchset makes our direct IO code behave better for NOWAIT writes, avoiding blocking in several places for potentially long periods due to waits for IO. It also removes running the same nocow checks twice (which can be expensive) and doing extra path allocations. The last patch in the series has a test and the results I got before and after applying this patchset.
Filipe Manana (8):
btrfs: avoid blocking on page locks with nowait dio on compressed range
btrfs: avoid blocking nowait dio when locking file range
btrfs: avoid double nocow check when doing nowait dio writes
btrfs: stop allocating a path when checking if cross reference exists
btrfs: free path at can_nocow_extent() before checking for checksum items
btrfs: release path earlier at can_nocow_extent()
btrfs: avoid blocking when allocating context for nowait dio read/write
btrfs: avoid blocking on space revervation when doing nowait dio writes
fs/btrfs/ctree.h | 5 +- fs/btrfs/delalloc-space.c | 9 +-- fs/btrfs/extent-tree.c | 9 +-- fs/btrfs/file.c | 104 +++++++++++----------------------- fs/btrfs/inode.c | 116 ++++++++++++++++++++++++++++---------- fs/btrfs/qgroup.c | 5 +- fs/btrfs/qgroup.h | 12 ++-- fs/btrfs/relocation.c | 3 +- fs/btrfs/root-tree.c | 3 +- 9 files changed, 144 insertions(+), 122 deletions(-)
Signature · 1 line
2.33.0