Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760324AbZALWzJ (ORCPT ); Mon, 12 Jan 2009 17:55:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762505AbZALWsd (ORCPT ); Mon, 12 Jan 2009 17:48:33 -0500 Received: from mail2.shareable.org ([80.68.89.115]:42929 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760913AbZALWsa (ORCPT ); Mon, 12 Jan 2009 17:48:30 -0500 Date: Mon, 12 Jan 2009 22:48:06 +0000 From: Jamie Lokier To: James Bottomley Cc: Boaz Harrosh , Matthew Wilcox , Benny Halevy , Jeff Garzik , Andrew Morton , Al Viro , Avishay Traeger , open-osd development , linux-scsi , linux-kernel , linux-fsdevel Subject: Re: [PATCH 7/9] exofs: mkexofs Message-ID: <20090112224806.GB26430@shareable.org> References: <4947BFAA.4030208@panasas.com> <4947CA5C.50104@panasas.com> <20081229121423.efde9d06.akpm@linux-foundation.org> <495B8D90.1090004@panasas.com> <1230739053.3408.74.camel@localhost.localdomain> <4960D3CA.2000202@panasas.com> <1231783926.3256.29.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1231783926.3256.29.camel@localhost.localdomain> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1568 Lines: 35 James Bottomley wrote: > Um, your submission path is character. You pick up block again because > SCSI uses it for queues, but it's not really part of your paradigm. > I think your choice of using a character device will turn out to be a > design mistake because the migration path of existing filesystems is > bound to be a block device with extra features (which they may or may > not make use of) but only if there's a way to make ODS relevant to > users. We mount character devices already when it's appropriate. Look at JFFS, JFFS2, UBIFS and LOGFS. All of them operate on MTD devices, which are character device interfaces to flash storage, using the common MTD interface instead of the block layer. This is quite correct, because block devices have specific characteristics (generic block caching and ability to read/write each block independently) which neither flash nor OSDs have. Imho, OSDs are similar to flash in this respected. There is no fixed-size block/sector indexed storage device, therefore a block device would be wrong. Admittedly lumping everything else under "character" is daft, when you can't read and write character streams to the device, but that's unix for you. Character device used to mean serial ports etc. until it become "any old crap that's not a block device". :-) -- Jamie -- 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/