Whoops, ok, no, this is not particularly sync-friendly. On the other
hand, I don't think your seek storm would be as bad as all that. You
can still feed enough blocks to the elevator to give it something to
chew on. On the third hand, since you are still using the generic
flushing machinery I can see you'd have quite a lot of work to do to
control the flushing accurately in this way.
> Note that fsync() is OK - in full data journalling mode nothing
> is ever attached to i_dirty_buffers.
Somewhere in there is a beautiful optimization trying to get out...
-- Daniel - 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/