Skip to content

ceph osd: initial VMware VAAI support

Mike Christie ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ceph osd: add support for new op writesamesrc/include/rados.h src/osd/ReplicatedPG.cc src/osd/ReplicatedPG.h +1 more+66 -01 reply
2/2ceph osd: add support for new op cmpextsrc/include/rados.h src/osd/ReplicatedPG.cc src/osd/ReplicatedPG.h +1 more+56 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDavid Disseldorp
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ceph osd: initial VMware VAAI support

Sorry. Edited the wrong line in the --compose screen. Due to the lack of subject I guess it is going into some spam filters. Here is the mail:

Quoted 38 lines · Mike Christie

The following patches made over the ceph master branch implement OSD side support for VMware VAAI's Atomic Test and Set (ATS) and Write Same (Zero) requests.

ATS is used for operations like locking and heartbeats. It is implemented by as the SCSI COMPARE_AND_WRITE command which requires the device to read N blocks, compare them to data sent with the command, and if equal, write N blocks.

Zero is used to initialize blocks to zero. It is implemented as the SCSI WRITE_SAME command which passes the device a block's worth of data and has it write it multiple times.

This does not include support for XCOPY/extended copy. I am still looking into this, but it seems it might be difficult to support due to rbd being more tuned to cloning entire devices. When we implement VASA, the cloneVirtualVolume might be something we can support though.

More info on VAAI can be found here:
http://www.vmware.com/resources/techresources/10337

The krbd patches which use these requests are in vaai branch of this tree:
https://github.com/mikechristie/linux-kernel

I did not submit them in this thread, because they depend on other patches that are still being reviewed upstream and I did not want to waste people's time reviewing them if they change. These OSD side patches should be ok to review and merge, because the op format and implemention should not change.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html