Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-13 Thread Juergen Gross
On 13/04/16 14:22, Bob Liu wrote: > > On 04/07/2016 06:00 PM, Bob Liu wrote: >> * What's data integrity extension and why? >> Modern filesystems feature checksumming of data and metadata to protect >> against >> data corruption. However, the detection of the corruption is done at read >> time >

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-13 Thread Ian Jackson
Bob Liu writes ("Re: [RFC PATCH] Data integrity extension support for xen-block"): > A simpler possible solution: As a syntax this is certainly simpler and quite probably preferable. But NB that I regard your email as simply a sketch of the syntax. We also need (as discussed) a statement of the

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-13 Thread Bob Liu
On 04/07/2016 06:00 PM, Bob Liu wrote: > * What's data integrity extension and why? > Modern filesystems feature checksumming of data and metadata to protect > against > data corruption. However, the detection of the corruption is done at read > time > which could potentially be months after th

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-11 Thread Konrad Rzeszutek Wilk
> * A filesystem in Guest that is integrity-aware can prepare I/Os with > metadata attached. > * Filesystems in Guest are capable of transferring metadata from user space. > Those metadata get lost if we don't pass them through in blkfront. > > You may have a look at: > [1] http://lwn.net/Article

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-11 Thread Bob Liu
On 04/08/2016 10:32 PM, David Vrabel wrote: > On 08/04/16 15:20, Ian Jackson wrote: >> David Vrabel writes ("Re: [RFC PATCH] Data integrity extension support for >> xen-block"): >>> You need to read the relevant SCSI specification and find out what >>> interfaces and behaviour the hardware has so

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-08 Thread David Vrabel
On 08/04/16 15:20, Ian Jackson wrote: > David Vrabel writes ("Re: [RFC PATCH] Data integrity extension support for > xen-block"): >> You need to read the relevant SCSI specification and find out what >> interfaces and behaviour the hardware has so you can specify compatible >> interfaces in blkif.

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-08 Thread Ian Jackson
David Vrabel writes ("Re: [RFC PATCH] Data integrity extension support for xen-block"): > You need to read the relevant SCSI specification and find out what > interfaces and behaviour the hardware has so you can specify compatible > interfaces in blkif. > > My (brief) reading around this suggests

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-08 Thread David Vrabel
On 07/04/16 11:00, Bob Liu wrote: > * What's data integrity extension and why? > Modern filesystems feature checksumming of data and metadata to protect > against > data corruption. However, the detection of the corruption is done at read > time > which could potentially be months after the data

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-08 Thread Ian Jackson
FYI I have things I want to say in this conversation but today I am concentrating on committing for the 4.7 freeze. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-08 Thread Bob Liu
On 04/08/2016 05:44 PM, Roger Pau Monné wrote: > On Fri, 8 Apr 2016, Bob Liu wrote: >> >> On 04/07/2016 11:55 PM, Juergen Gross wrote: >>> On 07/04/16 12:00, Bob Liu wrote: * What's data integrity extension and why? Modern filesystems feature checksumming of data and metadata to protect

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-08 Thread Roger Pau Monné
On Fri, 8 Apr 2016, Bob Liu wrote: > > On 04/07/2016 11:55 PM, Juergen Gross wrote: > > On 07/04/16 12:00, Bob Liu wrote: > >> * What's data integrity extension and why? > >> Modern filesystems feature checksumming of data and metadata to protect > >> against > >> data corruption. However, the d

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-07 Thread Juergen Gross
On 08/04/16 03:24, Bob Liu wrote: > > On 04/07/2016 11:55 PM, Juergen Gross wrote: >> On 07/04/16 12:00, Bob Liu wrote: >>> * What's data integrity extension and why? >>> Modern filesystems feature checksumming of data and metadata to protect >>> against >>> data corruption. However, the detecti

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-07 Thread Bob Liu
On 04/07/2016 11:55 PM, Juergen Gross wrote: > On 07/04/16 12:00, Bob Liu wrote: >> * What's data integrity extension and why? >> Modern filesystems feature checksumming of data and metadata to protect >> against >> data corruption. However, the detection of the corruption is done at read >> ti

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-07 Thread Juergen Gross
On 07/04/16 12:00, Bob Liu wrote: > * What's data integrity extension and why? > Modern filesystems feature checksumming of data and metadata to protect > against > data corruption. However, the detection of the corruption is done at read > time > which could potentially be months after the data

Re: [Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-07 Thread Ian Jackson
Bob Liu writes ("[RFC PATCH] Data integrity extension support for xen-block"): > +/* > + * Extra request, must follow a normal-request and a normal-request can > + * only be followed by one extra request. > + */ I don't myself have (yet) an opinion about the syntax of this. I'd like to hear from

[Xen-devel] [RFC PATCH] Data integrity extension support for xen-block

2016-04-07 Thread Bob Liu
* What's data integrity extension and why? Modern filesystems feature checksumming of data and metadata to protect against data corruption. However, the detection of the corruption is done at read time which could potentially be months after the data was written. At that point the original data t