[PATCHSET v2.0 8/9] fstests: reflink with large realtime extents

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Hi all,

Now that we've landed support for reflink on the realtime device for
cases where the rt extent size is the same as the fs block size, enhance
the reflink code further to support cases where the rt extent size is a
power-of-two multiple of the fs block size.  This enables us to do data
block sharing (for example) for much larger allocation units by dirtying
pagecache around shared extents and expanding writeback to write back
shared extents fully.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=realtime-reflink-extsize

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=realtime-reflink-extsize

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=realtime-reflink-extsize
---
 common/rc          |   23 +++++++
 common/reflink     |   27 ++++++++
 tests/generic/145  |    1 
 tests/generic/147  |    1 
 tests/generic/261  |    1 
 tests/generic/262  |    1 
 tests/generic/303  |    8 ++
 tests/generic/331  |    1 
 tests/generic/353  |    2 -
 tests/generic/517  |    1 
 tests/generic/657  |    1 
 tests/generic/658  |    1 
 tests/generic/659  |    1 
 tests/generic/660  |    1 
 tests/generic/663  |    1 
 tests/generic/664  |    1 
 tests/generic/665  |    1 
 tests/generic/670  |    1 
 tests/generic/672  |    1 
 tests/xfs/180      |    1 
 tests/xfs/182      |    1 
 tests/xfs/184      |    1 
 tests/xfs/1919     |  163 ++++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/1919.out |   84 +++++++++++++++++++++++++
 tests/xfs/192      |    1 
 tests/xfs/1926     |  177 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/1926.out |    2 +
 tests/xfs/200      |    1 
 tests/xfs/204      |    1 
 tests/xfs/208      |    1 
 tests/xfs/315      |    1 
 tests/xfs/326      |    6 ++
 tests/xfs/420      |    3 +
 tests/xfs/421      |    3 +
 tests/xfs/792      |    1 
 35 files changed, 520 insertions(+), 2 deletions(-)
 create mode 100755 tests/xfs/1919
 create mode 100644 tests/xfs/1919.out
 create mode 100755 tests/xfs/1926
 create mode 100644 tests/xfs/1926.out





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux