From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 31 11:18:27 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 420A91065694 for ; Mon, 31 Aug 2009 11:18:27 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 018F08FC24 for ; Mon, 31 Aug 2009 11:18:26 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mi4tz-00026p-Un for freebsd-hackers@freebsd.org; Mon, 31 Aug 2009 13:18:23 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Aug 2009 13:18:23 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Aug 2009 13:18:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Mon, 31 Aug 2009 13:18:02 +0200 Lines: 6 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.22 (X11/20090817) Sender: news Subject: UFS block writing X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:18:27 -0000 Does UFS do full-block writes? Always or only in specific circumstances? For example, if a UFS file system is created with the 16/2 block/fragment size, and a small random write (e.g. 512 bytes) comes in the middle of a larger file, will UFS read in the whole 16k block, modify it and write it out? What about fragments?