From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Tso Subject: Re: ATA 4 KiB sector issues. Date: Thu, 11 Mar 2010 09:28:11 -0500 Message-ID: <472A4C80-30CE-4875-8073-F7E61659B6F0@mit.edu> References: <4B947393.2050002@kernel.org> <4B97C6A5.4010209@tvk.rwth-aachen.de> <17BB1CC0-9B13-401D-B6AA-90365208A042@mit.edu> <201003111927.24829.knikanth@suse.de> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Return-path: Received: from DMZ-MAILSEC-SCANNER-8.MIT.EDU ([18.7.68.37]:64505 "EHLO dmz-mailsec-scanner-8.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756027Ab0CKOdX convert rfc822-to-8bit (ORCPT ); Thu, 11 Mar 2010 09:33:23 -0500 In-Reply-To: <201003111927.24829.knikanth@suse.de> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Nikanth Karthikesan Cc: Damian Lukowski , "linux-ide@vger.kernel.org" , Jeff Garzik , Matthew Wilcox , "Martin K. Petersen" , James Bottomley , Tejun Heo , lkml , Daniel Taylor , Mark Lord , "H. Peter Anvin" , hirofumi@mail.parknet.co.jp, Andrew Morton , Alan Cox , irtiger@gmail.com, aschnell@suse.de, jdelvare@suse.de On Mar 11, 2010, at 8: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. Ah, yes, I agree with you; that's probably what he meant. Sure, that's theoretically possible, but it would mean changing every single filesystem, and it would require a file system format change --- or at least a file system format extension. It would seem to be way easier to simply fix the partitioning tools to do the right thing, though. -- Ted