Re: [RFC] fsblock



On Wed, Jun 27, 2007 at 07:32:45AM +0200, Nick Piggin wrote:
I think using fsblock to drive the IO and keep the pagecache flags
uptodate and using a btree in the filesystem to manage extents of block
allocations wouldn't be a bad idea though. Do any filesystems actually
do this?

Yes. XFS. But we still need to hold state in buffer heads (BH_delay,
BH_unwritten) that is needed to determine what type of
allocation/extent conversion is necessary during writeback. i.e.
what we originally mapped the page as during the ->prepare_write
call.

Cheers,

Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] Avoiding fragmentation through different allocator
    ... James and Grant added to CC. ... > fragmentation for some orders are over time. ... > only support pagesize and reiser will create a filesystem with a blocksize ... > the assumption that high-order allocations will fail. ...
    (Linux-Kernel)
  • Re: soft update vs journaling?
    ... > Whenever something untoward would happen, the filesystem almost always ... Soft Update was designed to assure file system consistency. ... This hole could be something like files pointing to ... The system makes allocations and decisions based on faulty data and ...
    (Linux-Kernel)
  • New filesystem has 4% overhead.
    ... and allocated a single 50GB filesystem in it. ... (Actually I did a series of allocations in 10GB increments.It ... TOTAL PPs: 546 ... FREE PPs: 346 ...
    (comp.unix.aix)
  • Tux3 Report: Structure of Tux3, Revisited
    ... Inode table node* ... Data btree attribute ... Regular files have a number of benefits of "through coded" filesystem ... Using a regular file as the allocation map seemed kind of unusual at ...
    (Linux-Kernel)
  • [RFC] extents,delayed allocation,mballoc for ext3
    ... size 5kb, before: 2 allocations, 27550 cycles ...
    (Linux-Kernel)