On 2/16/17 1:23 PM, Goffredo Baroncelli wrote:
> On 2017-02-16 14:00, Ilan Schwarts wrote:
>> Hi,
>> Found the solution at: https://patchwork.kernel.org/patch/2825842/
> 
> The patches below provided by suse seem more general
> 
>       
> http://kernel.opensuse.org/cgit/kernel-source/tree/patches.suse/vfs-add-super_operations-get_inode_dev
>       
> http://kernel.opensuse.org/cgit/kernel-source/tree/patches.suse/btrfs-provide-super_operations-get_inode_dev
> 
> Unfortunately is quite invasive

They're also incomplete.  The openSUSE kernel also needs:
http://kernel.suse.com/cgit/kernel-source/tree/patches.suse/btrfs-fs-super.c-add-new-super-block-devices-super_block_d.patch?h=SLE12-SP2
http://kernel.suse.com/cgit/kernel-source/tree/patches.suse/btrfs-btrfs-use-the-new-VFS-super_block_dev.patch?h=SLE12-SP2

... for ustat() to work properly.  I've just forward ported those to the
master kernel and am testing now.

The /proc/mountinfo thing isn't fixed with these patches either since
subvolumes report different device numbers and we don't represent
subvolumes as mounts.  That's what the patches that I had started
writing up a while ago do, but it's still very early for those.

-Jeff

>>
>> On Thu, Feb 16, 2017 at 12:05 PM, Ilan Schwarts <ila...@gmail.com 
>> <mailto:ila...@gmail.com>> wrote:
>>
>>     Hi,
>>
>>     I hope its ok im reaching to you via mail..
>>     I read your message at: 
>> _https://marc.info/?l=linux-btrfs&m=148701370108477&w=2 
>> <https://marc.info/?l=linux-btrfs&m=148701370108477&w=2>_
>>
>>     I have the same issue in my kernel driver, Did you find an answer ?
>>
>>     Thanks
>>     -
>>     Ilan Schwarts
>>
>>
>>
>>
>> -- 
>>
>>
>> -
>> Ilan Schwarts
> 
> 


-- 
Jeff Mahoney
SUSE Labs

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to