diff options
author | Shaun Tancheff <shaun@tancheff.com> | 2016-11-21 15:52:23 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-21 15:08:24 -0700 |
commit | 778889d8412e36e666b1e4ce108373613c84b428 (patch) | |
tree | 09f6a7ab673ed4be84f3f296ffd8c4e0d4f6c770 /fs | |
parent | 93c5bdf7ab71bbdae27f8f51fa175e06f000d69d (diff) | |
download | linux-778889d8412e36e666b1e4ce108373613c84b428.tar.gz linux-778889d8412e36e666b1e4ce108373613c84b428.tar.xz |
block: apply blk_partition_remap to REQ_OP_ZONE_RESET
If a ZBC device is partitioned and operations are performed on the partition
the zone information is rebased to the partition, however the zone reset
is not mapped from the partition to device as are other operations.
This causes the API (report zones / reset zone) to be unbalanced in this
regard. Checking for the zone reset op code explicitly will balance the
API.
Signed-off-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions