From owner-cvs-src-old@FreeBSD.ORG Sat Feb 12 12:52:33 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79001106564A for ; Sat, 12 Feb 2011 12:52:33 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 666CC8FC13 for ; Sat, 12 Feb 2011 12:52:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p1CCqXuE016038 for ; Sat, 12 Feb 2011 12:52:33 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p1CCqXbr016037 for cvs-src-old@freebsd.org; Sat, 12 Feb 2011 12:52:33 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201102121252.p1CCqXbr016037@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 12 Feb 2011 12:52:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ffs ffs_softdep.c fs.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 12:52:33 -0000 kib 2011-02-12 12:52:12 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c fs.h Log: SVN rev 218602 on 2011-02-12 12:52:12Z by kib Use the native sector size of the device backing the UFS volume for SU+J journal blocks, instead of hard coding 512 byte sector size. Journal need to atomically write the block, that can only be guaranteed at the device sector size, not larger. Attempt to write less then sector size results in driver errors. Note that this is the first structure in UFS that depends on the sector size. Other elements are written in the units of fragments. In collaboration with: pho Reviewed by: jeff Tested by: bz, pho Revision Changes Path 1.267 +13 -11 src/sys/ufs/ffs/ffs_softdep.c 1.59 +1 -1 src/sys/ufs/ffs/fs.h