diff options
author | 2025-01-04 13:59:41 +0900 | |
---|---|---|
committer | 2025-01-10 19:30:47 -0800 | |
commit | 43043c9b97258a008b3402cfbbf1c5d82151c77f (patch) | |
tree | aa0f302ea68b328fd1a1d8d2a9b5e82fcbc75100 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvmet: Improve nvmet_alloc_ctrl() interface and implementation (diff) | |
download | linux-rng-43043c9b97258a008b3402cfbbf1c5d82151c77f.tar.xz linux-rng-43043c9b97258a008b3402cfbbf1c5d82151c77f.zip |
nvmet: Introduce nvmet_req_transfer_len()
Add the new function nvmet_req_transfer_len() to parse a request command
to extract the transfer length of the command. This function
implementation relies on multiple helper functions for parsing I/O
commands (nvmet_io_cmd_transfer_len()), admin commands
(nvmet_admin_cmd_data_len()) and fabrics connect commands
(nvmet_connect_cmd_data_len).
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions