• J
    btrfs: plumb fs_info into btrfs_work · cb001095
    Jeff Mahoney 提交于
    In order to provide an fsid for trace events, we'll need a btrfs_fs_info
    pointer.  The most lightweight way to do that for btrfs_work structures
    is to associate it with the __btrfs_workqueue structure.  Each queued
    btrfs_work structure has a workqueue associated with it, so that's
    a natural fit.  It's a privately defined structures, so we add accessors
    to retrieve the fs_info pointer.
    Signed-off-by: NJeff Mahoney <jeffm@suse.com>
    Signed-off-by: NDavid Sterba <dsterba@suse.com>
    cb001095
disk-io.c 122.6 KB