block: Fix REQ_OP_ZONE_RESET_ALL handling
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 10 Mar 2021 09:09:19 +0000 (18:09 +0900)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Mar 2021 14:45:47 +0000 (07:45 -0700)
commitfaa44c69daf9ccbd5b8a1aee13e0e0d037c0be17
treebb4686cb765199c01f0e938ffd5d8d5cb79f0fbc
parenteeb05595d22c19c8f814ff893dcf88ec277a2365
block: Fix REQ_OP_ZONE_RESET_ALL handling

Similarly to a single zone reset operation (REQ_OP_ZONE_RESET), execute
REQ_OP_ZONE_RESET_ALL operations with REQ_SYNC set.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c