lkml.org 
[lkml]   [2008]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Btrfs trees for linux-next
    On Dec 11, 2008  09:43 -0500, Chris Mason wrote:
    > The multi-device code uses a very simple brute force scan from userland
    > to populate the list of devices that belong to a given FS. Kay Sievers
    > has some ideas on hotplug magic to make this less dumb. (The scan isn't
    > required for single device filesystems).

    This should use libblkid to do the scanning of the devices, and it can
    cache the results for efficiency. Best would be to have the same LABEL+UUID
    for all devices in the same filesystem, and then once any of these devices
    are found the mount.btrfs code can query the rest of the devices to find
    the remaining parts of the filesystem.

    Cheers, Andreas
    --
    Andreas Dilger
    Sr. Staff Engineer, Lustre Group
    Sun Microsystems of Canada, Inc.



    \
     
     \ /
      Last update: 2008-12-15 22:07    [W:4.045 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site