diff options
author | Damien Le Moal <[email protected]> | 2024-04-08 10:41:03 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-04-17 08:44:02 -0600 |
commit | a0508c36efa838b16aa93a23e3583d68d3ef6c33 (patch) | |
tree | 6123e7c5de6527930317b235bfbeaf802f8c8c89 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c0da26f950a355ef3540ca8d215351e1ed4cac47 (diff) |
block: Introduce blk_zone_update_request_bio()
On completion of a zone append request, the request sector indicates the
location of the written data. This value must be returned to the user
through the BIO iter sector. This is done in 2 places: in
blk_complete_request() and in blk_update_request(). Introduce the inline
helper function blk_zone_update_request_bio() to avoid duplicating
this BIO update for zone append requests, and to compile out this
helper call when CONFIG_BLK_DEV_ZONED is not enabled.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Tested-by: Hans Holmberg <[email protected]>
Tested-by: Dennis Maisenbacher <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions