[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCHSET block#for-2.6.36-post] block: replace barrier with sequenced flush
- From: Tejun Heo <tj kernel org>
- To: Christoph Hellwig <hch lst de>
- Cc: "tytso mit edu" <tytso mit edu>, "linux-scsi vger kernel org" <linux-scsi vger kernel org>, Jens Axboe <jaxboe fusionio com>, "jack suse cz" <jack suse cz>, "linux-kernel vger kernel org" <linux-kernel vger kernel org>, "linux-raid vger kernel org" <linux-raid vger kernel org>, "linux-ide vger kernel org" <linux-ide vger kernel org>, "dm-devel redhat com" <dm-devel redhat com>, "James Bottomley suse de" <James Bottomley suse de>, "konishi ryusuke lab ntt co jp" <konishi ryusuke lab ntt co jp>, "linux-fsdevel vger kernel org" <linux-fsdevel vger kernel org>, "vst vlnb net" <vst vlnb net>, Ric Wheeler <rwheeler redhat com>, "swhiteho redhat com" <swhiteho redhat com>, "chris mason oracle com" <chris mason oracle com>
- Subject: Re: [dm-devel] [PATCHSET block#for-2.6.36-post] block: replace barrier with sequenced flush
- Date: Mon, 23 Aug 2010 16:13:36 +0200
Hello,
On 08/23/2010 04:08 PM, Christoph Hellwig wrote:
> On Mon, Aug 23, 2010 at 04:01:15PM +0200, Jens Axboe wrote:
>> The problem purely exists on arrays that report write back cache enabled
>> AND don't implement SYNC_CACHE as a noop. Do any of them exist, or are
>> they purely urban legend?
>
> I haven't seen it. I don't care particularly about this case, but once
> it a while people want to disable flushing for testing or because they
> really don't care.
>
> What about adding a sysfs attribue to every request_queue that allows
> disabling the cache flushing feature? Compared to the barrier option
> this controls the feature at the right level and makes it available
> to everyone instead of beeing duplicated. After a while we can then
> simply ignore the barrier/nobarrier options.
Yeah, that sounds reasonable. blk_queue_flush() can be called anytime
without locking anyway, so it should be really easy to implement too.
Thanks.
--
tejun
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]