[dm-devel] Bcache upstreaming
Kent Overstreet
kent.overstreet at gmail.com
Thu Jan 31 21:08:53 UTC 2013
On Thu, Jan 31, 2013 at 11:02 AM, Mike Snitzer <snitzer at redhat.com> wrote:
> On Wed, Jan 30 2013 at 8:48pm -0500,
> Kent Overstreet <koverstreet at google.com> wrote:
>
>> On Wed, Jan 30, 2013 at 05:27:47PM -0800, Kent Overstreet wrote:
>> > On Wed, Jan 30, 2013 at 05:26:27PM -0800, Kent Overstreet wrote:
>> > > On Wed, Jan 30, 2013 at 07:10:21PM -0500, Mike Snitzer wrote:
>> > > > On Wed, Jan 30 2013 at 6:36pm -0500,
>> > > > Kent Overstreet <koverstreet at google.com> wrote:
>> > > >
>> > > > > Fixed a bunch of other bugs today too... notably the bug where it'd
>> > > > > crash if you enabled discards. Was there anything else you or anyone
>> > > > > else was hitting?
>> > > >
>> > > > Great, thanks, the other outstanding report was this one:
>> > > > https://lkml.org/lkml/2013/1/17/554
>> > >
>> > > Yep, that was the discard bug I just fixed.
>> >
>> > Err I misread - nope, I missed that one. Taking a look now.
>>
>> Fucking shrinkers, i swear that's one of the most nonsensical APIs I've
>> yet encountered.
>>
>> This is going to take some thought. For now, just disable the shrinker:
>>
>> echo 1 > /sys/fs/bcache/<uuid>/internal/btree_shrinker_disabled
>
> Oddly I don't have a /sys/fs/bcache/<uuid> even though I have created
> /dev/bcache0
>
> The only files I have in /sys/fs/bcache/ are: register register_quiet
That means you have a backing device registered, but not a cache device
More information about the dm-devel
mailing list