From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: ATA support for 4k sector size Date: Wed, 25 Feb 2009 18:51:35 -0500 Message-ID: References: <1235600698-6446-1-git-send-email-matthew@wil.cx> <49A5CBF7.9000501@zytor.com> <49A5D55A.9080402@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from rcsinet11.oracle.com ([148.87.113.123]:34202 "EHLO rgminet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753406AbZBYXyg (ORCPT ); Wed, 25 Feb 2009 18:54:36 -0500 In-Reply-To: <49A5D55A.9080402@zytor.com> (H. Peter Anvin's message of "Wed\, 25 Feb 2009 15\:33\:46 -0800") Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: "H. Peter Anvin" Cc: "Martin K. Petersen" , Matthew Wilcox , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, sandeen@redhat.com >>>>> "hpa" == H Peter Anvin writes: hpa> I wish it was left to people like myself. Realistically when it hpa> comes to disks with 4096-byte logical sectors it going to matter hpa> how the firmware chooses to expose it. Well. In the short term ATA is going to emulate 512 (at a penalty for misaligned I/O). SCSI is switching to 4KB wholesale. I have a 4KB/4KB drive here that I have had fun booting from the last few days. hpa> Most likely, the universe will explode at this time, since very few hpa> bootloaders can deal with a sector size other than 512 bytes, and hpa> virtually every partition table format contains a sector size hpa> dependency, which also means you'll break any mechanical imaging hpa> solution. hpa> It's going to hurt :( Yep, it sucks :| -- Martin K. Petersen Oracle Linux Engineering