diff options
| author | Ming Lei <ming.lei@redhat.com> | 2026-01-30 00:19:53 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-31 06:36:41 -0700 |
| commit | e07a2039b6d4ae3acf8ae39b86be449b7fa18d4a (patch) | |
| tree | 47df8ad986ecd019e6f2b1fb885e6140924d7ef4 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 3a4d8bed0b47543b2dfce0b1d714b40d68ff2f7e (diff) | |
selftests: ublk: add selftest for UBLK_F_NO_AUTO_PART_SCAN
Add test_part_01.sh to test the UBLK_F_NO_AUTO_PART_SCAN feature
flag which allows suppressing automatic partition scanning during
device startup while still allowing manual partition probing.
The test verifies:
- Normal behavior: partitions are auto-detected without the flag
- With flag: partitions are not auto-detected during START_DEV
- Manual scan: blockdev --rereadpt works with the flag
Also update kublk tool to support --no_auto_part_scan option and
recognize the feature flag.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
