From owner-freebsd-fs@FreeBSD.ORG Thu Feb 26 03:22:24 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1468946 for ; Thu, 26 Feb 2015 03:22:24 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id A4ECDDA5 for ; Thu, 26 Feb 2015 03:22:24 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 045AC1512959 for ; Wed, 25 Feb 2015 19:22:25 -0800 (PST) Date: Wed, 25 Feb 2015 20:22:24 -0700 (MST) From: andy zhang To: freebsd-fs@freebsd.org Message-ID: <1424920944349-5992079.post@n5.nabble.com> In-Reply-To: <20150216095410.GH34251@kib.kiev.ua> References: <54E1B90E.8050101@freebsd.org> <20150216095410.GH34251@kib.kiev.ua> Subject: Re: About Filesystem freeze/thaw in freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 03:22:24 -0000 Thanks, I have already tried "UFSSUSPEND/UFSRESUME ioctls on the /dev/ufssuspend", and I found it actually not work. In Linux, if I send freeze ioctl, all write operations will be blocked unless I send thaw ioctl. While for "UFSSUSPEND/UFSRESUME ioctls", it does not work in that way. that is: If I send UFSSUSPEND ioctl, I still can do write operations, like create files, etc. I am still looking that the code of ufssuspend, and if that really not works, i may implement that in my driver level. thanks for any advice. -- View this message in context: http://freebsd.1045724.n5.nabble.com/About-Filesystem-freeze-thaw-in-freebsd-tp5989205p5992079.html Sent from the freebsd-fs mailing list archive at Nabble.com.