lkml.org 
[lkml]   [1999]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Block sizes < 512 bytes
Date
From
> After testing and enjoying the panic that ensued, I did some hunting and
> discovered in fs/buffer.c that the block size must >= 512 bytes.
>
> Why is this? I admit I'm unfamiliar with most of the filesystem code, but
> it seems a little silly to limit the block size in this (seemingly
> arbitrary) way.

Mainly so we have enough bits in a 32bit value to describe a large device.

> Am I doing this wrong? Is there another way to acheive what I want?

I think you will need to run the vfs at 512 bytes and do your own work
reblocking

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.022 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site