[dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-09-29 Thread Darrick J. Wong
Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Bart Van Assche Reviewed-by: Hannes Reinecke --- block/ioctl.c

Re: [dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-09-28 Thread Hannes Reinecke
On 09/29/2016 02:39 AM, Darrick J. Wong wrote: > Invalidate the page cache (as a regular O_DIRECT write would do) to avoid > returning stale cache contents at a later time. > > Signed-off-by: Darrick J. Wong > Reviewed-by: Christoph Hellwig > Reviewed-by: Martin K. Petersen > --- > block/ioctl

Re: [dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-09-28 Thread Bart Van Assche
On 09/28/16 17:39, Darrick J. Wong wrote: Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. Reviewed-by: Bart Van Assche -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel

[dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-09-28 Thread Darrick J. Wong
Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Reviewed-by: Martin K. Petersen --- block/ioctl.c | 18 -- 1 file changed, 12 insertions(+),

[dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-08-25 Thread Darrick J. Wong
Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. v5: Refactor the 4.4 refactoring of the ioctl code into separate functions. Split the page invalidation and the new ioctl into separate patches. v6: Remove the call to invalida

Re: [dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-06-28 Thread Martin K. Petersen
> "Darrick" == Darrick J Wong writes: Darrick> Invalidate the page cache (as a regular O_DIRECT write would Darrick> do) to avoid returning stale cache contents at a later time. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- dm-devel mailing list d

Re: [dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-06-28 Thread Darrick J. Wong
On Mon, Jun 20, 2016 at 02:35:29PM +0200, Bart Van Assche wrote: > On 06/17/2016 03:18 AM, Darrick J. Wong wrote: > >Invalidate the page cache (as a regular O_DIRECT write would do) to avoid > >returning stale cache contents at a later time. > > > >v5: Refactor the 4.4 refactoring of the ioctl code

Re: [dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-06-21 Thread Bart Van Assche
On 06/17/2016 03:18 AM, Darrick J. Wong wrote: Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. v5: Refactor the 4.4 refactoring of the ioctl code into separate functions. Split the page invalidation and the new ioctl into

[dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-06-16 Thread Darrick J. Wong
Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. v5: Refactor the 4.4 refactoring of the ioctl code into separate functions. Split the page invalidation and the new ioctl into separate patches. Signed-off-by: Darrick J. Wong

[dm-devel] [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-04-12 Thread Darrick J. Wong
Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. v5: Refactor the 4.4 refactoring of the ioctl code into separate functions. Split the page invalidation and the new ioctl into separate patches. Signed-off-by: Darrick J. Wong