From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933268Ab0CKQh6 (ORCPT ); Thu, 11 Mar 2010 11:37:58 -0500 Received: from terminus.zytor.com ([198.137.202.10]:59135 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933240Ab0CKQhz (ORCPT ); Thu, 11 Mar 2010 11:37:55 -0500 Message-ID: <4B991B5F.6050302@zytor.com> Date: Thu, 11 Mar 2010 08:33:35 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3 MIME-Version: 1.0 To: Nikanth Karthikesan CC: Theodore Tso , Damian Lukowski , "linux-ide@vger.kernel.org" , Jeff Garzik , Matthew Wilcox , "Martin K. Petersen" , James Bottomley , Tejun Heo , lkml , Daniel Taylor , Mark Lord , hirofumi@mail.parknet.co.jp, Andrew Morton , Alan Cox , irtiger@gmail.com, aschnell@suse.de, jdelvare@suse.de Subject: Re: ATA 4 KiB sector issues. References: <4B947393.2050002@kernel.org> <4B97C6A5.4010209@tvk.rwth-aachen.de> <17BB1CC0-9B13-401D-B6AA-90365208A042@mit.edu> <201003111927.24829.knikanth@suse.de> In-Reply-To: <201003111927.24829.knikanth@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/11/2010 05:57 AM, Nikanth Karthikesan wrote: > > I guess, what he meant was, to keep filesystem blocks aligned, even if the > partition is not. Say if the partition is mis-aligned by 512-bytes, let the > filesystem waste 4k-512bytes and keep it's blocks aligned. But it might be a > case of over-engineering, possibly requiring disk format change. > That's basically what you end up having to do for FAT filesystems to be aligned. -hpa