btrfs: a few direct IO fixes/improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and inline extentsfs/ | +13 | 2 replies | |
| 2/3 | btrfs: don't fallback to buffered IO for NOWAIT direct IO writesfs/ | +15 | 5 replies | |
| 3/3 | btrfs: fault in pages for dio reads/writes in a more controlled wayfs/ | +40 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Dominique MARTINET | Christoph Hellwig |
|---|---|---|
| 1/3 | T-b | R-b |
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] btrfs: a few direct IO fixes/improvements
From: Filipe Manana <[email protected]>
Several fixes and improvements regarding direct IO, with the first one being recently reported by Dominique when using qemu with io_uring on images that have a mix of compressed and non-compressed extents. That in particular exposed a bug in qemu's handling of partial reads, fixed recently by Dominique, but despite that we could avoid returning a partial read when there's really no need to, not just for efficiency but also because many applications don't take into consideration partial reads (MariaDB for example didn't use to until recently) or are buggy dealing with them. More details in the changelogs.
Filipe Manana (3):
btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and
inline extents
btrfs: don't fallback to buffered IO for NOWAIT direct IO writes
btrfs: fault in pages for dio reads/writes in a more controlled way
fs/btrfs/file.c | 72 ++++++++++++++++++++++++++++++++++++------------ fs/btrfs/inode.c | 14 +++++++++- 2 files changed, 68 insertions(+), 18 deletions(-)
Signature · 1 line
2.35.1