lkml.org 
[lkml]   [1998]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: block devices
On Fri, 2 Jan 1998, Albert D. Cahalan wrote:

> There is a misfeature in drivers/block/ll_rw_blk.c, reported at line 539.
> It shows up on CD-ROMs mostly, though the FAT code has some very ugly
> hacks to "fix" related problems and I think the aliasing troubles
> are related too.
>
> The following error is from mounting a SunOS CD-ROM with UFS:
> ll_rw_block: device 16:00: only 2048-char blocks implemented (1024)
>
> With the whole filesystem copied (using dd) to a Zip disk:
> ll_rw_block: device 08:04: only 512-char blocks implemented (1024)
>
> It works from a ramdisk though, so UFS is working. Something is very
> broken if filesystems need to worry about the physical sector size
> and alignment.

The above refers to the logical filesystem blocksize -- we need to add
something like "set_blocksize(dev, logical_blocksize)" before the first
use of ll_rw_block()/bread()/etc.

Gadi

\
 
 \ /
  Last update: 2005-03-22 13:41    [from the cache]
©2003-2011 Jasper Spaans