From owner-freebsd-current@FreeBSD.ORG Mon Mar 4 13:44:39 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1DDB91E9; Mon, 4 Mar 2013 13:44:39 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id D73A718F2; Mon, 4 Mar 2013 13:44:38 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 26AE589EAF; Mon, 4 Mar 2013 13:44:32 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id r24DiUSq025328; Mon, 4 Mar 2013 13:44:30 GMT (envelope-from phk@phk.freebsd.dk) To: Don Lewis Subject: Re: access to hard drives is "blocked" by writes to a flash drive In-reply-to: <201303040712.r247CejP008718@gw.catspoiler.org> From: "Poul-Henning Kamp" References: <201303040712.r247CejP008718@gw.catspoiler.org> Date: Mon, 04 Mar 2013 13:44:30 +0000 Message-ID: <25327.1362404670@critter.freebsd.dk> Cc: kostikbel@gmail.com, deeptech71@gmail.com, freebsd-current@FreeBSD.org, peter@rulingia.com, ian@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 13:44:39 -0000 Content-Type: text/plain; charset=ISO-8859-1 -------- In message <201303040712.r247CejP008718@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@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.