Commit 9b0ab9d
committed
nvme-cli: prefill metadata buffers
Make sure that the metadata buffer is initialized just like the data
buffer.
For read/write, prefill the metadata buffer with zeroes. For passthru,
reuse the prefill argument for the metadata buffer too.
Signed-off-by: Klaus Jensen <[email protected]>1 parent 977e7d4 commit 9b0ab9d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4857 | 4857 | | |
4858 | 4858 | | |
4859 | 4859 | | |
| 4860 | + | |
4860 | 4861 | | |
4861 | 4862 | | |
4862 | 4863 | | |
| |||
5422 | 5423 | | |
5423 | 5424 | | |
5424 | 5425 | | |
5425 | | - | |
| 5426 | + | |
5426 | 5427 | | |
5427 | 5428 | | |
5428 | 5429 | | |
| |||
5474 | 5475 | | |
5475 | 5476 | | |
5476 | 5477 | | |
| 5478 | + | |
5477 | 5479 | | |
5478 | 5480 | | |
5479 | 5481 | | |
| |||
0 commit comments