Re: btrfs: stat(2) and /proc/pid/maps returns different devices

2013-07-11 Thread Andrew Vagin
On Wed, Jul 10, 2013 at 10:45:45AM -0700, Mark Fasheh wrote: > On Wed, Jul 10, 2013 at 09:31:05AM -0700, Mark Fasheh wrote: > > As far as I can tell we'll be carrying this patch until a better > > solution is possible. > > > > When that will happen, I don't know. > > --Mark > > Well, what do

btrfs: stat(2) and /proc/pid/maps returns different devices

2013-07-04 Thread Andrew Vagin
Hi All, I want to resurrect an old problem. Currently stat(2) returns another device than other places where the device is printed (/proc/pid/maps, /proc/pid/fdinfo/, unix-diag). stat(2) reports devices, which is absent in /proc/pid/mountinfo. # cat /proc/self/mountinfo | grep mnt 40 32 0:32 / /m