| To: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>, axboe@xxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT. |
| From: | Hannes Reinecke <hare@xxxxxxx> |
| Date: | Thu, 29 Sep 2016 07:56:03 +0200 |
| Cc: | linux-block@xxxxxxxxxxxxxxx, tytso@xxxxxxx, martin.petersen@xxxxxxxxxx, snitzer@xxxxxxxxxx, linux-api@xxxxxxxxxxxxxxx, bfoster@xxxxxxxxxx, xfs@xxxxxxxxxxx, hch@xxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, bart.vanassche@xxxxxxxxxxx, Christoph Hellwig <hch@xxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <147510957761.8940.14476876584539116975.stgit@xxxxxxxxxxxxxxxx> |
| References: | <147510957066.8940.13803086684642725401.stgit@xxxxxxxxxxxxxxxx> <147510957761.8940.14476876584539116975.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
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 <darrick.wong@xxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> > --- > block/ioctl.c | 18 ++++++++++++------ > 1 file changed, 12 insertions(+), 6 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg GF: J. Hawn, J. Guild, F. ImendÃrffer, HRB 16746 (AG NÃrnberg) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | 44-ÐÐ ÐÐÑ ÐÐÑÑÐÐÑÐÐÐÐ, ÐÐ44 |
|---|---|
| Next by Date: | Re: [PATCH 2/3] block: require write_same and discard requests align to logical block size, Hannes Reinecke |
| Previous by Thread: | Re: [PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT., Bart Van Assche |
| Next by Thread: | [PATCH 2/3] block: require write_same and discard requests align to logical block size, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |