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

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Mar 4 13:44:39 UTC 2013


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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list