Re: [PATCH] 2.4.x write barriers (updated for ext3)

From: James Bottomley (James.Bottomley@SteelEye.com)
Date: Mon Mar 04 2002 - 13:28:19 EST


sct@redhat.com said:
> Also, as soon as we have journals on external devices, this whole
> thing changes entirely. We still have to enforce the commit ordering
> in the journal, but we also still need the ordering between that
> commit and any subsequent writeback, and that obviousy can no longer
> be achieved via ordered tags if the two writes are happening on
> different devices.

Yes, that's a killer: ordered tags aren't going to be able to enforce cross
device write barriers.

There is one remaining curiosity I have, at least about the benchmarks: Since
the linux elevator and tag queueing perform essentially similar function
(except that the disk itself has a better notion of ordering because it knows
its own geometry). Might we get better performance by reducing the number of
tags we allow the device to use, thus forcing the writes to remain longer in
the linux elevator?

James

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:35 EST