diff options
| author | Ming Lei <ming.lei@redhat.com> | 2026-03-31 23:32:00 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-07 07:42:23 -0600 |
| commit | 12075992c62ee330b2c531fa066b19be21698115 (patch) | |
| tree | 2581bbc2c340fb61d833f2c760b9cd8a4796abcc /rust/kernel/gpu/git@git.tavy.me:linux-stable.git | |
| parent | d4866503324c062f70dddfdd2e59957d335fc230 (diff) | |
selftests/ublk: add filesystem fio verify test for shmem_zc
Add test_shmemzc_03.sh which exercises shmem_zc through the full
filesystem stack: mkfs ext4 on the ublk device, mount it, then run
fio verify on a file inside the filesystem with --mem=mmaphuge.
Extend _mkfs_mount_test() to accept an optional command that runs
between mount and umount. The function cd's into the mount directory
so the command can use relative file paths. Existing callers that
pass only the device are unaffected.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://patch.msgid.link/20260331153207.3635125-10-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/gpu/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
