Skip to content

Add Trim operation

Owen Smith xen-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2Add trim operation to xen block devicesdrivers/xen/blkback/blkback.c include/xen/interface/io/blkif.h+24 -00 replies
2/2Add trim operation to xen block devicesxen/include/public/io/blkif.h+17 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchOwen Smith
2/2Signed-of-by
2/2Signed-of-by

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

Read the v2 thread

Cover letter [PATCH 0/2 0/2 v2] Add Trim operation

* Updated value of BLKIF_OP_TRIM to 5 after comments from Jan Beulich
* Added explanation of trim operation after comments from Keir Fraser

This set of patches for xen-unstable and the pvops dom0 kernel extend the current block device shared ring and add the trim operation interface. The first patch in both series moves the request specific fields to a union. The second patch in both series adds the trim operation.

xen-unstable
------------
1/2 : reorganises the block ring protocol to move the operation specific
fields to a union.
2/2 : adds the trim operation definition and structure to the union.

pvops dom0
----------
1/2 : reorganises the block ring protocol to move the operation specific
fields to a union.
2/2 : adds the trim operation definition and structure to the union. Also
adds a BLKIF_RSP_EOPNOTSUPP response in blkback for the trim operation.