Re: [dm-devel] Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alasdair G Kergon
Date: Tuesday, May 29, 2007 - 3:05 pm

On Tue, May 29, 2007 at 11:25:42AM +0200, Stefan Bader wrote:

Something like that is needed for some dm targets to support barriers.
(We needn't always wait for *all* in-flight I/O.)
When faced with -EOPNOTSUP, do all callers fall back to a sync in
the places a barrier would have been used, or are there any more
sophisticated strategies attempting to optimise code without barriers?


An efficient I/O barrier implementation would not normally involve
flushing AFAIK: dm surely wouldn't "cause" a higher layer to assume
stronger semantics than are provided.
 
Alasdair
-- 
agk@redhat.com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [dm-devel] Re: [RFD] BIO_RW_BARRIER - what it means fo ..., Alasdair G Kergon, (Mon May 28, 2:43 am)
Re: [dm-devel] Re: [RFD] BIO_RW_BARRIER - what it means fo ..., Alasdair G Kergon, (Tue May 29, 3:05 pm)
Re: [dm-devel] Re: [RFD] BIO_RW_BARRIER - what it means fo ..., Alasdair G Kergon, (Wed May 30, 3:41 am)
Re: [dm-devel] Re: [RFD] BIO_RW_BARRIER - what it means fo ..., Valdis.Kletnieks, (Thu Jul 12, 10:34 am)
[PATCH] block: cosmetic changes, Tejun Heo, (Wed Jul 18, 3:56 am)
[PATCH] block: factor out bio_check_eod(), Tejun Heo, (Wed Jul 18, 3:59 am)
Re: [PATCH] block: factor out bio_check_eod(), Jens Axboe, (Wed Jul 18, 4:06 am)
Re: [PATCH] block: factor out bio_check_eod(), Tejun Heo, (Wed Jul 18, 4:18 am)
Re: [PATCH] block: factor out bio_check_eod(), Jens Axboe, (Wed Jul 18, 4:31 am)
Re: [PATCH] block: factor out bio_check_eod(), Tejun Heo, (Wed Jul 18, 4:33 am)
Re: [PATCH] block: factor out bio_check_eod(), Jens Axboe, (Wed Jul 18, 4:34 am)
Re: [PATCH] block: factor out bio_check_eod(), Tejun Heo, (Wed Jul 18, 4:41 am)
Re: [PATCH] block: factor out bio_check_eod(), Jens Axboe, (Wed Jul 18, 4:45 am)
Re: [PATCH] block: factor out bio_check_eod(), Jens Axboe, (Wed Jul 18, 4:49 am)
Re: [PATCH] block: factor out bio_check_eod(), Jens Axboe, (Wed Jul 18, 5:31 am)
Re: [PATCH] block: factor out bio_check_eod(), Tejun Heo, (Wed Jul 18, 5:34 am)