diff options
author | Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com> | 2025-02-26 19:06:11 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-03-03 11:17:52 -0700 |
commit | 4f235000b1e88934d1e6117dc43ed814710ef4e2 (patch) | |
tree | a6f9ee40cbc715f8078d58e9efe8ef5925b4ef5a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 800c24391676143695d284f70af297b28a809886 (diff) |
null_blk: replace null_process_cmd() call in null_zone_write()
As a preparation to support partial data transfer due to badblocks,
replace the null_process_cmd() call in null_zone_write() with equivalent
calls to null_handle_badblocks() and null_handle_memory_backed(). This
commit does not change behavior. It will enable null_handle_badblocks()
to return the size of partial data transfer in the following commit,
allowing null_zone_write() to move write pointers appropriately.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Link: https://lore.kernel.org/r/20250226100613.1622564-4-shinichiro.kawasaki@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions