* Block size limited to Linux page size?
@ 2008-06-03 16:57 Thomas King
2008-06-04 1:26 ` Chris Mason
0 siblings, 1 reply; 4+ messages in thread
From: Thomas King @ 2008-06-03 16:57 UTC (permalink / raw)
To: linux-btrfs
To fill in one piece of information, I'm reading the maximum block size can be
limited by the Linux page size, 4K on x86. Is this true in btrfs?
Thanks!
Tom King
^ permalink raw reply [flat|nested] 4+ messages in thread
* Block size limited to Linux page size?
@ 2008-06-03 17:00 Thomas King
2008-06-03 17:10 ` Eric Sandeen
0 siblings, 1 reply; 4+ messages in thread
From: Thomas King @ 2008-06-03 17:00 UTC (permalink / raw)
To: linux-ext4
To fill in one piece of information, I'm reading the maximum block size can be
limited by the Linux page size, 4K on x86. Is this true in ext4?
I know this is a basic question, so thanks for humoring me.
Tom King
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Block size limited to Linux page size?
2008-06-03 17:00 Block size limited to Linux page size? Thomas King
@ 2008-06-03 17:10 ` Eric Sandeen
0 siblings, 0 replies; 4+ messages in thread
From: Eric Sandeen @ 2008-06-03 17:10 UTC (permalink / raw)
To: Thomas King; +Cc: linux-ext4
Thomas King wrote:
> To fill in one piece of information, I'm reading the maximum block size can be
> limited by the Linux page size, 4K on x86. Is this true in ext4?
>
> I know this is a basic question, so thanks for humoring me.
> Tom King
Generally, yes.
There are patches:
ftp://ftp.kernel.org/pub/linux/kernel/people/christoph/largeblocksize/4/patches/
but I'm not sure what the current state of all that is, honestly...
Before it's discussed as a limitation though it'd be interesting to see
some recent benchmarks on how much it might actually matter.
>From some reports:
http://kerneltrap.org/Linux/Large_Blocksize_Performance
it may indeed help.
-Eric
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Block size limited to Linux page size?
2008-06-03 16:57 Thomas King
@ 2008-06-04 1:26 ` Chris Mason
0 siblings, 0 replies; 4+ messages in thread
From: Chris Mason @ 2008-06-04 1:26 UTC (permalink / raw)
To: Thomas King; +Cc: linux-btrfs
On Tue, Jun 03, 2008 at 11:57:54AM -0500, Thomas King wrote:
> To fill in one piece of information, I'm reading the maximum block size can be
> limited by the Linux page size, 4K on x86. Is this true in btrfs?
The kernel code supports much larger block sizes for metadata, but there
is a current limitation that the checksum error handling code may have
some races on larger block sizes.
So, the default is the same as the page size, but larger sizes will soon
work again (once better btree locking code is in place).
-chris
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-04 1:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03 17:00 Block size limited to Linux page size? Thomas King
2008-06-03 17:10 ` Eric Sandeen
-- strict thread matches above, loose matches on Subject: below --
2008-06-03 16:57 Thomas King
2008-06-04 1:26 ` Chris Mason
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.