From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.230] helo=mgw-mx03.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1JvrDp-0007eT-L2 for linux-mtd@lists.infradead.org; Tue, 13 May 2008 09:55:02 +0000 Subject: Re: [PATCH] [MTD] [UBI] add block device layer on top of UBI From: Artem Bityutskiy To: Nancy In-Reply-To: References: <1204623622.23706.22.camel@sauron> <1204624414.23706.26.camel@sauron> Content-Type: text/plain; charset=utf-8 Date: Tue, 13 May 2008 12:53:11 +0300 Message-Id: <1210672391.5708.15.camel@sauron> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: linux-mtd Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2008-05-13 at 12:16 +0800, Nancy wrote: > Hi all, > I think it is my final edition of ubi block device layer code > based on UBI commit e442c48f84982d0fa10c6b292018241dafca4d65 > Finally, it can support any filesystem based on block device layer= . > eg: FAT, ext2.... > #modprobe ubiblk > #mkfs.vfat /dev/ubiblock1 > #mount -t vfat /dev/ubiblock1 /mnt/fat >=20 > I notice there many people need this function especially our > Chinese. Hope this helpful :-) > Here's my implementation: What is the reason you added this "generic" ubi mtd block stuff? What for? Also, UBI should not have any explicit block device support - it should be isolated. It is to ok to add some general support for devices on top of UBI, like notification about volume size change and so on, but not explicit block layer support. Gluebi should also get a separate module, ideally. Also, the patch suffers from too direct copy-pastes which is not acceptable. --=20 Best regards, Artem Bityutskiy (=D0=91=D0=B8=D1=82=D1=8E=D1=86=D0=BA=D0=B8=D0=B9 =D0=90= =D1=80=D1=82=D1=91=D0=BC)