Changes in /sys/bcache in kernel 3.13
Hi All,
bcache-status stopped working in kernel 3.13, see also: https://bugzilla.redhat.com/show_bug.cgi?id=1066555
It's probably related to the change "Fix dirty_data accounting" in kernel 3.13-rc4. What specifically has changes is the fact that that /sys/fs/bcache/<UUID>/dirty_data has been removed, which breaks bcache-status (https://gist.github.com/djwong/6343451). Just removing the check / reference to this dirty_data item fixes bcache-status. Or has it been replaced by a specific item?
Oh, BTW: bcache.txt still refers to dirty_data in /sys/fs/bcache/<UUID> which doesn't seem correct to me.
Cheers,
Rolf
Quoted 4 lines · Rolf Fokkens
Hi All,
bcache-status stopped working in kernel 3.13, see also:
https://bugzilla.redhat.com/show_bug.cgi?id=1066555
Oh, there are RH bugzillas about bcache-status problems? I guess that makes me 'upstream'. :D
Well, I guess I'll fix the no-newline-at-end problem too.
Quoted 6 lines
It's probably related to the change "Fix
dirty_dataaccounting" in kernel 3.13-rc4. What specifically has changes is the fact that that /sys/fs/bcache/<UUID>/dirty_data has been removed, which breaks bcache-status (https://gist.github.com/djwong/6343451). Just removing the check / reference to thisdirty_dataitem fixes bcache-status. Or has it been replaced by a specific item?
<shrug> I simply removed the dirty_data line and prettied up some of the formatting too. I don't have a problem with pulling the dirty data stats off the backing device.
Gist updated.
--D
Quoted 11 lines
Oh, BTW: bcache.txt still refers to
dirty_datain /sys/fs/bcache/<UUID> which doesn't seem correct to me.Cheers,
Rolf
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Darrick J. Wong
Oh, there are RH bugzillas about bcache-status problems? I guess that makes me 'upstream'. :D Well, I guess I'll fix the no-newline-at-end problem too.
Thanks for accepting the upstream responsibility :-)
Quoted 1 line
<shrug> I simply removed the
dirty_dataline and prettied up some of the formatting too. I don't have a problem with pulling the dirty data stats off the backing device. Gist updated. --D
Thanks. I updated the Fedora package.
Rolf