Btrfs: add interface for writing compressed extents directly
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 14 repliesIn review
Changes from the RFC from the cover letter
- Rebased on misc-next, which now has the cleanups from patches 1-3.
- Generalized the interface to "raw writes" so that we can support, e.g., encrypted writes in the future.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fs: export rw_verify_area()fs/ fs/ include/ | +2 | 0 replies | |
| 2/2 | btrfs: add ioctl for directly writing compressed datafs/ fs/ fs/ +4 more | +380 | 14 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Josef Bacik |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Btrfs: add interface for writing compressed extents directly
From: Omar Sandoval <[email protected]>
Hi,
This is an update of my RFC series [1]. Patch 1 is a VFS patch to export some permission checks. Patch 2 is the actual change.
Changes from the RFC:
- Rebased on misc-next, which now has the cleanups from patches 1-3.
- Generalized the interface to "raw writes" so that we can support, e.g., encrypted writes in the future.
Note that I kept the compat ioctl implementation the same based on the discussion in [2].
1: https://lore.kernel.org/linux-btrfs/[email protected]/
2: https://lore.kernel.org/linux-btrfs/20190903171458.GA7452@vader/
Omar Sandoval (2):
fs: export rw_verify_area()
btrfs: add ioctl for directly writing compressed data
fs/btrfs/compression.c | 6 +- fs/btrfs/compression.h | 14 +-- fs/btrfs/ctree.h | 6 ++ fs/btrfs/file.c | 13 ++- fs/btrfs/inode.c | 192 ++++++++++++++++++++++++++++++++++++- fs/btrfs/ioctl.c | 95 ++++++++++++++++++ fs/internal.h | 5 - fs/read_write.c | 1 + include/linux/fs.h | 1 + include/uapi/linux/btrfs.h | 69 +++++++++++++ 10 files changed, 382 insertions(+), 20 deletions(-)
Signature · 1 line
2.23.0