lkml.org 
[lkml]   [2014]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 0/2] vfs / btrfs: add support for ustat()
On Tue, Jul 15, 2014 at 04:07:03PM -0700, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez" <mcgrof@suse.com>
>
> ustat() does not work for btrfs, the reason is the VFS layer
> cannot get to the super block from the anonymous bdevs. The
> way these are used within btrfs though are to actually use a
> series of them per superblock. This modifies the way the
> VFS exposes these bdevs by pegging them onto the super
> block on a linked list. This should also allow us to grow
> the subdevices on the super block with any other information
> that might be better suited underneath so that the VFS
> layer is aware. If this approach is reasonable then perhaps
> we should next remove the exported symbol for get_anon_bdev()
> as btrfs was the only user.
>

Based on some private review I got this can be simplified leaving
the embedded the struct on the fs data structure and just using
it to expose it on the VFS. Will send a v2.

Luis


\
 
 \ /
  Last update: 2014-07-17 00:21    [W:2.027 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site