Re: [PATCHSET block#for-2.6.36-post] block: replace barrier with sequenced flush

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kiyoshi Ueda
Date: Tuesday, August 24, 2010 - 3:24 am

Hi Tejun,

On 08/23/2010 11:17 PM +0900, Mike Snitzer wrote:

Yes, checking whether it's a transport error in lower layer is
the right solution.
(Since I know it's not available yet, I just hoped if upper layers
 had some other options.)

Anyway, only reporting errors for REQ_FLUSH to upper layer without
such a solution would make dm-multipath almost unusable in real world,
although it's better than implicit data loss.



If it's possible, it could be a workaround for a short term.
But how can you do that?

I think it's not enough to just drop REQ_FLUSH flag from q->flush_flags.
Underlying devices of a mpath device may have write-back cache and
it may be enabled.
So if a mpath device doesn't set REQ_FLUSH flag in q->flush_flags, it
becomes a device which has write-back cache but doesn't support flush.
Then, upper layer can do nothing to ensure cache flush?

Thanks,
Kiyoshi Ueda
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 02/11] block: kill QUEUE_ORDERED_BY_TAG, Tejun Heo, (Thu Aug 12, 5:41 am)
[PATCH 05/11] block: misc cleanups in barrier code, Tejun Heo, (Thu Aug 12, 5:41 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Fri Aug 13, 4:48 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Vladislav Bolkhovitin, (Fri Aug 13, 5:55 am)
Re: [PATCH 02/11] block: kill QUEUE_ORDERED_BY_TAG, Vladislav Bolkhovitin, (Fri Aug 13, 5:56 am)
Re: [PATCH 02/11] block: kill QUEUE_ORDERED_BY_TAG, Christoph Hellwig, (Fri Aug 13, 6:06 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Fri Aug 13, 6:17 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Fri Aug 13, 7:38 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Sat Aug 14, 3:36 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Tue Aug 17, 6:19 am)
Re: [PATCH 08/11] block: rename barrier/ordered to flush, Christoph Hellwig, (Tue Aug 17, 6:26 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Tue Aug 17, 9:59 am)
Re: [PATCH 08/11] block: rename barrier/ordered to flush, Christoph Hellwig, (Tue Aug 17, 10:08 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Wed Aug 18, 2:46 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Vladislav Bolkhovitin, (Wed Aug 18, 12:29 pm)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Vladislav Bolkhovitin, (Wed Aug 18, 12:30 pm)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Thu Aug 19, 3:20 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Fri Aug 20, 6:22 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Mon Aug 23, 5:48 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Mon Aug 23, 7:05 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Mon Aug 23, 7:08 am)
[PATCH] block: simplify queue_next_fseq, Christoph Hellwig, (Mon Aug 23, 7:15 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Christoph Hellwig, (Mon Aug 23, 7:19 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Kiyoshi Ueda, (Tue Aug 24, 3:24 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Vladislav Bolkhovitin, (Tue Aug 24, 10:11 am)
Re: [PATCHSET block#for-2.6.36-post] block: replace barrie ..., Vladislav Bolkhovitin, (Mon Aug 30, 1:34 pm)