rewrites discard support
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 4 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] rewrites discard support
Quoted 17 lines · Ming Lin
From: Ming Lin <ming.l at ssi.samsung.com>
This rewrites
nvme_setup_discard()withblk_add_request_payload(). And moves it to common code so fabrics driver can also use it.v2:
- add helpernvme_map_len()
- allocates only 16 bytes for discard payload
- moves command setup to common helpernvme_setup_cmd()
- returnsBLK_MQ_RQ_QUEUE_BUSYwhen out of memoryMing Lin (4):
nvme: add helpernvme_map_len()
block: add offset inblk_add_request_payload()
nvme: rewrite discard support
nvme: add helpernvme_setup_cmd()
Quoted 8 lines
block/blk-core.c | 5 ++- drivers/block/skd_main.c | 2 +- drivers/nvme/host/core.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++ drivers/nvme/host/nvme.h | 55 ++++--------------------- drivers/nvme/host/pci.c | 68 +++++++----------------------- drivers/scsi/sd.c | 2 +- include/linux/blkdev.h | 2 +- 7 files changed, 133 insertions(+), 106 deletions(-)
Looks good to me, I'll queue it up for 4.7. Thanks.
Signature · 1 line
Jens Axboe