diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2020-05-21 01:01:52 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-21 16:47:28 +0200 |
commit | 1592cd15eec6e2952453f9a82da6e8a53e2b8db5 (patch) | |
tree | ba66c62d973854ef2db95a22132bfe81d83b901a /virt/Makefile | |
parent | null_blk: return error for invalid zone size (diff) | |
download | linux-1592cd15eec6e2952453f9a82da6e8a53e2b8db5.tar.xz linux-1592cd15eec6e2952453f9a82da6e8a53e2b8db5.zip |
null_blk: don't allow discard for zoned mode
Zoned block device specification do not define the behavior of
discard/trim command as this command is generally replaced by the reset
write pointer (zone reset) command. Emulate this in null_blk by making
zoned and discard options mutually exclusive.
Suggested-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'virt/Makefile')
0 files changed, 0 insertions, 0 deletions