linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Copy offload
@ 2014-05-29  3:52 Martin K. Petersen
  2014-05-29  3:52 ` [PATCH 1/6] block: Replace bi_integrity with bi_special Martin K. Petersen
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Martin K. Petersen @ 2014-05-29  3:52 UTC (permalink / raw)
  To: axboe, nab, linux-scsi

Several people have poked me about the copy offload patches. Aside from
being able to fit into Jens' 3.16/core branch there hasn't been any
changes, nor any bug reports since LSF/MM.

This patch series implements support for copy offload. Storage arrays
that implement copy operations can be told to clone a block range either
within a storage device or between LUNs. The copy is done entirely
inside the device and no data is moved back and forth across the wire.

[PATCH 1/6] block: Replace bi_integrity with bi_special

       Identical to the patch I just posted in the integrity series.
       Allows us to have other uses for the pointer previously
       exclusively used for the integrity payload.

[PATCH 2/6] block: Implement support for copy offload operations

       General block layer plumbing for REQ_COPY requests.

[PATCH 3/6] block: Introduce copy offload library function

       Helper for filesystems that want to clone block ranges.

[PATCH 4/6] block: Copy offload ioctl

       The ioctl I have been using to test the code.

[PATCH 5/6] [SCSI] Look up and store NAA if VPD page 0x83 is present

       Leverages Hannes' VPD page code to store a pointer to the NAA
       descriptor.

[PATCH 6/6] [SCSI] sd: Implement copy offload support

       The EXTENDED COPY implementation in the SCSI disk driver.

 Documentation/ABI/testing/sysfs-block  |    9 +
 Documentation/block/data-integrity.txt |   10 -
 block/bio-integrity.c                  |   23 +-
 block/blk-core.c                       |    5 
 block/blk-lib.c                        |   85 +++++++++++
 block/blk-merge.c                      |    7 
 block/blk-settings.c                   |   15 +
 block/blk-sysfs.c                      |   10 +
 block/ioctl.c                          |   35 ++++
 drivers/scsi/scsi.c                    |   57 +++++++
 drivers/scsi/sd.c                      |  254 ++++++++++++++++++++++++++++++++-
 drivers/scsi/sd.h                      |    4 
 drivers/scsi/sd_dif.c                  |    8 -
 include/linux/bio.h                    |   25 ++-
 include/linux/blk_types.h              |   21 ++
 include/linux/blkdev.h                 |   22 ++
 include/scsi/scsi_device.h             |    3 
 include/uapi/linux/fs.h                |    1 
 18 files changed, 553 insertions(+), 41 deletions(-)

-- 
Martin K. Petersen	Oracle Linux Engineering


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-07-17 15:44 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29  3:52 Copy offload Martin K. Petersen
2014-05-29  3:52 ` [PATCH 1/6] block: Replace bi_integrity with bi_special Martin K. Petersen
2014-06-02 20:35   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 2/6] block: Implement support for copy offload operations Martin K. Petersen
2014-06-02 20:38   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 3/6] block: Introduce copy offload library function Martin K. Petersen
2014-06-02 20:40   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 4/6] block: Copy offload ioctl Martin K. Petersen
2014-06-02 20:42   ` Nicholas A. Bellinger
2014-05-29  3:52 ` [PATCH 5/6] [SCSI] Look up and store NAA if VPD page 0x83 is present Martin K. Petersen
2014-06-02 20:43   ` Nicholas A. Bellinger
2014-06-02 20:59   ` Paolo Bonzini
2014-06-03  1:00     ` Martin K. Petersen
2014-06-03  9:13       ` Paolo Bonzini
2014-07-17 11:48   ` Bart Van Assche
2014-07-17 15:43     ` Martin K. Petersen
2014-05-29  3:52 ` [PATCH 6/6] [SCSI] sd: Implement copy offload support Martin K. Petersen
2014-05-29 14:48   ` Douglas Gilbert
2014-05-30  0:05     ` Martin K. Petersen
2014-06-02 20:46   ` Nicholas A. Bellinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).