Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754983AbZDMLUP (ORCPT ); Mon, 13 Apr 2009 07:20:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754104AbZDMLT6 (ORCPT ); Mon, 13 Apr 2009 07:19:58 -0400 Received: from mx2.redhat.com ([66.187.237.31]:42012 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753832AbZDMLT5 (ORCPT ); Mon, 13 Apr 2009 07:19:57 -0400 Message-ID: <49E31F9B.3030602@redhat.com> Date: Mon, 13 Apr 2009 14:18:51 +0300 From: Avi Kivity User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Linus Torvalds CC: Robert Hancock , Szabolcs Szakacsits , Alan Cox , Grant Grundler , Linux IDE mailing list , LKML , Jens Axboe , Arjan van de Ven Subject: Re: Implementing NVMHCI... References: <20090412091228.GA29937@elte.hu> <49E21E8A.2040005@gmail.com> In-Reply-To: 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 Content-Length: 1151 Lines: 26 Linus Torvalds wrote: > The hardware sector size is very different. If you have a 32kB hardware > sector size, that implies that _all_ IO has to be done with that > granularity. Now you can no longer treat the eight pages as individual > pages - you _have_ to write them out and read them in as one entity. If > you dirty one page, you effectively dirty them all. You can not drop and > re-allocate pages one at a time any more. > You can still drop clean pages. Sure, that costs you performance as you'll have to do re-read them in order to write a dirty page, but in the common case, the clean pages around would still be available and you'd avoid it. Applications that randomly write to large files can be tuned to use the disk sector size. As for the rest, they're either read-only (executable mappings) or sequential. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/