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.