Re: [GIT PULL] (xen) stable/for-jens-3.2 - blkback and blkfrontpatches for 3.2

From: Konrad Rzeszutek Wilk
Date: Wed Sep 21 2011 - 11:35:52 EST


On Wed, Sep 21, 2011 at 11:17:32AM -0400, Christoph Hellwig wrote:
> On Wed, Sep 21, 2011 at 11:09:55AM -0400, Konrad Rzeszutek Wilk wrote:
> > Hey Jens,
> >
> > Please pull the following git tree in your 3.2 drivers tree:
> >
> > git pull git://oss.oracle.com/git/kwilk/xen.git stable/for-jens-3.2
> >
> > which has an exciting new feature - the discard ('feature-discard')
> > aka TRIM/UNMAP. Now they can be passed from the guest to the backend.
>
> What is the design of them? Do you provide the 'discard zeroes data'
> flag (mandatory for any kind of relible operation) and 'discard

Hmm, not sure what that is. Is that REQ_SECURE, err BLKDEV_DISCARD_SECURE?
If so then not in this patchset - but it does not seem like it would dificult
to add that in? Li, what do you think?

> granularity / alignment' tunables (very useful)?

The discard granularity/alignment are certainly there. But they are just
one way (backend tells the guest what they are). Should they be
more tunable (frontend tells the backend what the values ought to be?)

Li, did I miss anything in my response?
--
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/