[lkml]   [2003]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.0-test6-mm2
    On Thu, Oct 02, 2003 at 09:04:32PM +0400, Nikita Danilov wrote:
    > Andrew Morton writes:
    > >
    > >
    > > . A large series of VFS patches from Al Viro which replace usage of
    > > file->f_dentry->d_inode->i_mapping with the new file->f_mapping.
    > >
    > > This is mainly so we can get disk hot removal right.
    > What consequences does this have for (out-of-the-tree) file systems,
    > beyond s/->f_dentry->d_inode->i_mapping/->f_mapping/g ?

    None. It only matters for block device inodes. Out-of-tree fs is free to
    do whatever it does with inodes of regular files/directories/etc.

    In quite a few cases you can cut down on dereferencing that way, but that's
    covered by what you've mentioned.

    If you take a look at the patchset you'll see
    * change of method prototypes in block devices (aka "you don't need
    to start with bdev = inode->i_bdev, you get it from arguments" - check RD1--RD6
    and you'll see)
    * a lot of places in mm/* that got aforementioned search-and-replace
    * very few changes in fs code, most of them of the same variety (same
    * couple of helper functions changed their prototypes:
    generic_write_checks() lost "inode" argument
    generic_osync_inode(), OTOH, got explicit address_space one.

    That's it.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:49    [W:0.019 / U:8.512 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site