Add full support for cloning inline extents
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 2 repliesIn review
- v33 patches 6 repliesSuperseded
- v23 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 6 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Btrfs: move all reflink implementation code into its own filefs/ fs/ fs/ +3 more | +750 | 0 replies | |
| 2/3 | Btrfs: simplify inline extent handling when doing reflinksfs/ | +14 | 0 replies | |
| 3/3 | Btrfs: implement full reflink support for inline extentsfs/ | +187 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Josef Bacik |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] Add full support for cloning inline extents
From: Filipe Manana <[email protected]>
This patchset adds support for currently unsupported cases of reflink operations that cover a file range that has inline extents, more details on why/how in patch 3/3.
It also starts by moving all the reflink code out of ioctl.c into a new file named reflink.c (like xfs does) since this code is quite significant in size and has grown over the years.
V4: Updated patch 3 to fix a deadlock due to allocating space while holding
a transaction open. No changes to the first two patches.
V3: Updated first patch to introduce reflink.h as well, besides reflink.c.
V2: Removed third patch from the previous patchset version. Since the full
page ends up getting written, it's not necessary to read it before writing to it in case it's not uptodate. The final patch, which is now patch number 3, ends up being simpler as well.
Filipe Manana (3):
Btrfs: move all reflink implementation code into its own file
Btrfs: simplify inline extent handling when doing reflinks
Btrfs: implement full reflink support for inline extents
fs/btrfs/Makefile | 2 +- fs/btrfs/ctree.h | 3 - fs/btrfs/file.c | 1 + fs/btrfs/ioctl.c | 733 ----------------------------------------------- fs/btrfs/reflink.c | 811 +++++++++++++++++++++++++++++++++++++++++++++++++++++ fs/btrfs/reflink.h | 12 + 6 files changed, 825 insertions(+), 737 deletions(-) create mode 100644 fs/btrfs/reflink.c create mode 100644 fs/btrfs/reflink.h
Signature · 1 line
2.11.0