[PATCH] Xen block improvements for 3.3 [secure-discard flag](v1)

From: Konrad Rzeszutek Wilk
Date: Wed Nov 30 2011 - 13:17:07 EST


Way back in 3.2 time-frame we worked out some of these patches and how
to improve the code. I don't think I had posted them after we chatted
about what to do or how to do it...

Either way, posting them here to kick-start the conversation and
see if we can improve these patches some more. I've been running
with these patches for some time now so I am quite confident that I got
the 32-bit to 64-bit structure padding worked out.

(Ran it with old guests/new guests/32-bit/64-bit/Linux/Windows
combination. Around 18 different scenarios).

Konrad Rzeszutek Wilk (3):
xen/blk[front|back]: Squash blkif_request_rw and blkif_request_discard together
xen/blk[front|back]: Enhance discard support with secure erasing support.
xen/blkback: Move processing of BLKIF_OP_DISCARD from dispatch_rw_block_io

Li Dongyang (1):
xen-blkback: convert hole punching to discard request on loop devices

drivers/block/xen-blkback/blkback.c | 84 ++++++++++++++--------------------
drivers/block/xen-blkback/common.h | 67 ++++++++++++++++------------
drivers/block/xen-blkback/xenbus.c | 12 +++++
drivers/block/xen-blkfront.c | 77 +++++++++++++++++++++-----------
include/xen/interface/io/blkif.h | 40 ++++++++++++++---
5 files changed, 169 insertions(+), 111 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/