From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from elasmtp-dupuy.atl.sa.earthlink.net ([209.86.89.62]:52320 "EHLO elasmtp-dupuy.atl.sa.earthlink.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751014AbeFZFRQ (ORCPT ); Tue, 26 Jun 2018 01:17:16 -0400 Subject: Re: moving affs + RDB partition support to staging? To: Michael Schmitz Cc: Martin Steigerwald , Geert Uytterhoeven , Matthew Wilcox , David Sterba , Linux FS Devel , Linux Kernel Mailing List , Jens Axboe , linux-m68k References: <20180425154602.GA8546@bombadil.infradead.org> <1910962.ItDVNtUG5Q@merkaba> From: jdow Message-ID: <45e05e92-e2b1-d46c-11fb-4bd75e793712@earthlink.net> Date: Mon, 25 Jun 2018 22:17:10 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: As long as it preserves compatibility it should be OK, I suppose. Personally I'd make any partitioning tool front end gently force the block size towards 8k as the disk size gets larger. The file systems may also run into 2TB issues that are not obvious. An unused blocks list will have to go beyond a uint32_t size, for example. But a block list (OFS for sure, don't remember for the newer AFS) uses a tad under 1% of the disk all by itself. A block bitmap is not quite so bad. {^_-} Just be sure you are aware of all the ramifications when you make a change. I remember thinking about this for awhile and then determining I REALLY did not want to think about it as my brain was getting tied into a gordian knot. {^_^} On 20180625 19:23, Michael Schmitz wrote: > Joanne, > > Martin's boot log (including your patch) says: > > Jun 19 21:19:09 merkaba kernel: [ 7891.843284] sdb: RDSK (512) sdb1 > (LNX^@)(res 2 spb 1) sdb2 (JXF^D)(res 2 spb 1) sdb3 (DOS^C)(res 2 spb > 4) > Jun 19 21:19:09 merkaba kernel: [ 7891.844055] sd 7:0:0:0: [sdb] > Attached SCSI disk > > so it's indeed a case of self inflicted damage (RDSK (512) means 512 > byte blocks) and can be worked around by using a different block size. > > Your memory serves right indeed - blocksize is in 512 bytes units. > I'll still submit a patch to Jens anyway as this may bite others yet. > > Cheers, > > Michael > > > On Sun, Jun 24, 2018 at 11:40 PM, jdow wrote: >> BTW - anybody who uses 512 byte blocks with an Amiga file system is a famn >> dool. >> >> If memory serves the RDBs think in blocks rather than bytes so it should >> work up to 2 gigablocks whatever your block size is. 512 blocks is >> 2199023255552 bytes. But that wastes just a WHOLE LOT of disk in block maps. >> Go up to 4096 or 8192. The latter is 35 TB. >> >> {^_^} >> On 20180624 02:06, Martin Steigerwald wrote: >>> >>> Hi. >>> >>> Michael Schmitz - 27.04.18, 04:11: >>>> >>>> test results at https://bugzilla.kernel.org/show_bug.cgi?id=43511 >>>> indicate the RDB parser bug is fixed by the patch given there, so if >>>> Martin now submits the patch, all should be well? >>> >>> >>> Ok, better be honest than having anyone waiting for it: >>> >>> I do not care enough about this, in order to motivate myself preparing >>> the a patch from Joanne Dow´s fix. >>> >>> I am not even using my Amiga boxes anymore, not even the Sam440ep which >>> I still have in my apartment. >>> >>> So RDB support in Linux it remains broken for disks larger 2 TB, unless >>> someone else does. >>> >>> Thanks. >>> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-m68k" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >