Re: trying to reproduce bcache journal deadlock https://www.spinics.net/lists/kernel/msg4386275.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 21, 2022 at 09:11:10AM +0530, Nikhil Kshirsagar wrote:
> Hello all,
> 
> I am trying to reproduce the problem that
> 32feee36c30ea06e38ccb8ae6e5c44c6eec790a6 fixes, but I am not sure how.
> This is to verify and test its backport
> (https://pastebin.com/fEYmPZqC) onto kernel 4.15 (Thanks Kent for the
> help with that backport!)
> 
> Could this be reproduced by creating a bcache device with a smaller
> journal size? And if so, is there some way to pass the journal size
> argument during the creation of the bcache device?

Change SB_JOURNAL_BUCKETS to 8 and make a new cache, it's used in the
initialization path.

Bonus points would be to tweak journal reclaim so that we're slower to reclaim
to makes sure the journal stays full, and then test recovery.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux