RFC vfs: hoist reflink/dedupe ioctls to the VFS
Get series with b4
b4 am [email protected]Versions newest first
- v4 RFC Latest9 patches 9 repliesIn review
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | vfs: add copy_file_range syscall and vfs helperfs/ include/ include/ +2 more | +130 | 0 replies | |
| 2/9 | x86: add sys_copy_file_range to syscall tablesarch/ arch/ | +2 | 0 replies | |
| 3/9 | btrfs: add .copy_file_range file operationfs/ fs/ fs/ | +56 | 0 replies | |
| 4/9 | vfs: Add vfs_copy_file_range() support for pagecache copiesfs/ | +9 | 0 replies | |
| 5/9 | locks: new locks_mandatory_area calling conventionfs/ fs/ include/ | +24 | 0 replies | |
| 6/9 | vfs: pull btrfs clone API to vfs layerfs/ fs/ fs/ +8 more | +254 | 0 replies | |
| 7/9 | vfs: wire up compat ioctl for CLONE/CLONE_RANGEfs/ fs/ | +5 | 0 replies | |
| 8/9 | vfs: hoist the btrfs deduplication ioctl to the vfsfs/ fs/ fs/ +2 more | +173 | 8 replies | |
| 9/9 | btrfs: use new dedupe data function pointerfs/ fs/ fs/ | +16 | 0 replies |
Reviews trailers per patch
5 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Josef Bacik | David Sterba | Darrick J. Wong | Padraig Brady | J. Bruce Fields |
|---|---|---|---|---|---|---|
| 1/9 | R-b | |||||
| 2/9 | R-b | |||||
| 3/9 | R-b | R-b | R-b | |||
| 4/9 | R-b | R-b | R-b | |||
| 5/9 | A-b | |||||
| 6/9 | ||||||
| 7/9 | ||||||
| 8/9 | ||||||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [RFCv4 0/9] vfs: hoist reflink/dedupe ioctls to the VFS
Hi all,
This patch set goes along with the fourth revision of an RFC adding to XFS kernel support for tracking reverse-mappings of physical blocks to file and metadata; and support for mapping multiple file logical blocks to the same physical block, more commonly known as reflinking.
The first four patches are taken verbatim from Anna Schumaker's patches adding a physical copy call to the kernel. The next two patches are from Christoph Hellwig, and hoist the clone and clone_range ioctls into the VFS. These patches are a bit old at this point; they're in here solely to demonstrate how this (long) patchset diverges from upstream.
The third patch fixes some bugs in the first four patches, and the fourth patch hoists the extent_same ioctl into the VFS as the dedupe ioctl.
The patch set is based on the current (4.4-rc5) upstream kernel.
If you're going to start using this mess, you probably ought to just pull from my github trees for kernel[1], xfsprogs[2], and xfstests[3]. See also the xfs-docs[4] and manpage[5] updates.
This is an extraordinary way to eat your data. Enjoy!
Comments and questions are, as always, welcome.
--D
[1] https://github.com/djwong/linux/tree/for-dave
[2] https://github.com/djwong/xfsprogs/tree/for-dave
[3] https://github.com/djwong/xfstests/tree/for-dave
[4] https://github.com/djwong/xfs-documentation/tree/for-dave
[5] https://github.com/djwong/man-pages/commits/for-mtk