Re: [RFC PATCH] Track block device users that created dirty pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux