Re: generic pagecache to block mapping layer (was Re: Btrfs for mainline)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-01-06 at 01:39 +1100, Nick Piggin wrote:
> [trim ccs]
> 
> Feel free to ignore this diversion ;) I'd like to see btrfs go upstream
> sooner rather than later. But eventually we'll have to resurrect fsblock
> vs extent map discussion.
> 

There's extent_map, extent_state and extent_buffer.  I'd expect the
mapping code to beat fsblock, since it more closely models the
conditions of the disk format.  This is a very thin layer of code to
figure out which file offset goes to which block on disk.

extent_state is a different beast, since it is trying to track state
across extents.  It is entirely possible that we're better off keeping
the state in the pages, aside from the part where we're running out of
bits.

extent_buffers are an api to access/modify the contents of ranges of
bytes, supporting larger and smaller blocksizes than the page.  I'd be
really interested in comparing this to fsblock, but I need to first fix
it to actually support larger and smaller blocksizes than the page ;)

So, long term we can have a benchmarking contest, but I've got a little
ways to go before that is a good idea.

-chris


--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux