From owner-freebsd-fs@FreeBSD.ORG Sun Oct 9 22:22:05 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35203106566B; Sun, 9 Oct 2011 22:22:05 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id BBC138FC08; Sun, 9 Oct 2011 22:22:04 +0000 (UTC) Received: by qadz30 with SMTP id z30so4765105qad.13 for ; Sun, 09 Oct 2011 15:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=+DqWLv4NTv+DBOQxUsTb6aYdckU2dy2WqPqsKCOBYT8=; b=bXVQM0Jd/IN8hzq3fW0g4DW51selrZ87DX0GYjFXmX5OKqymwkBzf+4gaKmO9HZkdz z9Hn06vdk8eKSNMHULG95d7zN8niI6O1RWbk5J96hNWuh3vHQezXQ1z7OoLgexC/MgF/ IF3CpkJbI94AIjkqcT8G+r2XD2NAsHbed1Bvc= MIME-Version: 1.0 Received: by 10.224.173.69 with SMTP id o5mr8661216qaz.7.1318198923899; Sun, 09 Oct 2011 15:22:03 -0700 (PDT) Received: by 10.224.74.82 with HTTP; Sun, 9 Oct 2011 15:22:03 -0700 (PDT) In-Reply-To: <201110012137.p91Lb6FI093841@chez.mckusick.com> References: <201110012137.p91Lb6FI093841@chez.mckusick.com> Date: Sun, 9 Oct 2011 15:22:03 -0700 Message-ID: From: Garrett Cooper To: Kirk McKusick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Attilio Rao , Xin LI , freebsd-fs@freebsd.org Subject: Re: Need to force sync(2) before umounting UFS1 filesystems? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2011 22:22:05 -0000 On Sat, Oct 1, 2011 at 2:37 PM, Kirk McKusick wrote= : >> Date: Sat, 1 Oct 2011 12:44:04 -0700 >> Subject: Re: Need to force sync(2) before umounting UFS1 filesystems? >> From: Garrett Cooper >> To: Attilio Rao >> Cc: Kostik Belousov , >> =A0 =A0 =A0 =A0 Kirk McKusick , freebsd-fs@freebs= d.org, >> =A0 =A0 =A0 =A0 Xin LI >> >> Ok. Now that I know this is the direction you guys want to go, I'll >> start testing the change. > > Thanks for throwing some testing at this. Please test my latest > proposed change (included below so you do not have to dig through > earlier email) as I believe that it has the least likelyhood of > problems and is what I am currently proposing to put in. I apologize for not getting this done sooner. It passes a smoke test with the following filesystems: nfs nullfs smbfs unionfs ufs zfs I'll be running more extensive stress tests soon, but it looks like a good step forward. Thanks! -Garrett