diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-10-12 14:31:18 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-22 18:50:16 +0200 |
| commit | 073d71c5118f40449d9c7df828677aaa437372e1 (patch) | |
| tree | b4cfe27cb0c3dd6692334142f1fbcdd2547b6c1f /include/linux | |
| parent | 62400ce406f66b1154dfbd0d60a7e3baa374e105 (diff) | |
| download | linux-073d71c5118f40449d9c7df828677aaa437372e1.tar.gz linux-073d71c5118f40449d9c7df828677aaa437372e1.zip | |
selftests/filesystems: add a test for freezing a shared block device
erofs claims its blob devices with the filesystem type as the holder so
several erofs superblocks can share one. Merge two images from a common
layer and a layer of their own, put the common layer on device-mapper,
mount both and check that:
- a suspend freezes each of them exactly once
- the resume thaws both
- once one of them is unmounted only the other one is frozen
- BLKFLSBUF and ustat() on the shared device work
- mounts that come and go while the device is suspended and resumed
leave nothing frozen behind
mkfs.erofs builds the images, the test is skipped without it.
Link: https://patch.msgid.link/20261012-work-super-dev_hash-v1-1-305cf71cd334@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
