Re: access to hard drives is "blocked" by writes to a flash drive

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Mon, 4 Mar 2013 16:15:19 +0200
On Mon, Mar 04, 2013 at 01:44:30PM +0000, Poul-Henning Kamp wrote:
> Content-Type: text/plain; charset=ISO-8859-1
> --------
> In message <201303040712.r247CejP008718_at_gw.catspoiler.org>, Don Lewis writes:
> 
> >Prior to 231160, the syncer thread would call sync_vnode() for the
> >syncer vnode of each mountpoint every 30 seconds [...]
> 
> I agree that the lemming syncer is better, but the fundamental mistake of
> only having one syncer thread is probably the root-cause in this case:
> One camera-grade flash syncing may take (a lot) more than 30 seconds.
> 
> One mountpoint having trouble (of whatever kind) should not affect
> the rest of the mountpoints.
> 
> I'm not sure if the syncer is untangled enough that we can have
> per mount-point threads yet, but as soon as we can, we should do that.

The problem with "wdrain" is not due to any algorithm in the syncer.
I explained it in some details in other mail.

Received on Mon Mar 04 2013 - 13:15:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC