From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mason Subject: ext2 large block size > page size Date: Tue, 29 Mar 2011 13:52:38 +0200 Message-ID: <4D91C806.10601@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org Return-path: Received: from smtp24.services.sfr.fr ([93.17.128.83]:18257 "EHLO smtp24.services.sfr.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752619Ab1C2Lzl (ORCPT ); Tue, 29 Mar 2011 07:55:41 -0400 Received: from smtp24.services.sfr.fr (msfrf2406 [10.18.29.20]) by msfrf2410.sfr.fr (SMTP Server) with ESMTP id C3DAD70012B3 for ; Tue, 29 Mar 2011 13:55:40 +0200 (CEST) Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2406.sfr.fr (SMTP Server) with ESMTP id 05A047000085 for ; Tue, 29 Mar 2011 13:52:39 +0200 (CEST) Received: from [223.200.200.16] (32.90.87-79.rev.gaoland.net [79.87.90.32]) by msfrf2406.sfr.fr (SMTP Server) with ESMTP id 6C6667000097 for ; Tue, 29 Mar 2011 13:52:38 +0200 (CEST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello everyone, As far as I can tell from a quick Google search, there was a push in 2007 to add support for large blocks in some file-systems, in particular ext2. e.g. cf. http://lwn.net/Articles/239090/ Was this ever accepted into the main line? (It seems to have lived within -mm for a while) A few years later, I'm trying to mount a HDD which was ext2-formatted with 32k blocks. And mount is failing (with a strange "block size too small" error message). I'm trying this in Fedora 14 2.6.35.6 kernel 1.41.12 e2fsprogs Is the support for large blocks in ext2 not compiled in this generic kernel ? Or was the patch never accepted ? I'm working with a ST Microelectronics set-top box. Here are a few performance results for a 2TB USB HDD: block size 4k : format = 151 s / mount = 242 s block size 8k : format = 52 s / mount = 71 s block size 16k : format = 30 s / mount = 36 s block size 32k : format = 18 s / mount = 19 s Using 4kB blocks makes mount too slow on the STB, which is why I'd like to use larger blocks. It would be nice if the movies recorded on the STB could also be read on a Linux PC. -- Regards.