[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [RFC PATCH] Track block device users that created dirty pages
- From: Christoph Hellwig <hch infradead org>
- To: device-mapper development <dm-devel redhat com>
- Cc: Heinz Mauelshagen <heinzm redhat com>, Edward Thornber <thornber redhat com>, Mike Snitzer <snitzer redhat com>, "Alasdair G. Kergon" <agk redhat com>, Zdenek Kabelac <zkabelac redhat com>
- Subject: Re: [dm-devel] [RFC PATCH] Track block device users that created dirty pages
- Date: Fri, 6 Jan 2012 09:41:34 -0500
On Thu, Jan 05, 2012 at 07:58:34PM -0500, Mikulas Patocka wrote:
> Hi
>
> This is the patch for selective flushing on block devices. Only processes
> that created some dirty data in the pagecache flush the pagecache when
> closing the device. The processes that didn't create any dirty data (for
> example lvm, when using direct io) don't flush the cache when closing the
> device.
>
> Mikulas
>
> ---
>
> Track block device users that created dirty pages
>
> This patch adds a new field f_driver_flags to struct file. The field may
> be used by the driver for any purpose.
Please use file->private for that kind of usage.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]