commit | 1592cd15eec6e2952453f9a82da6e8a53e2b8db5 | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | Wed May 20 16:01:52 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu May 21 08:47:28 2020 -0600 |
tree | ba66c62d973854ef2db95a22132bfe81d83b901a | |
parent | e274832590211c4b1b1e807ca66fad8b5bb8b328 [diff] |
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>