On Thu, Oct 22, 2020 at 04:15:32PM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > To enable phase 6 parallelisation, we need to protect the bad inode > list from concurrent modification and/or access. Wrap it with a > mutex and clean up the nasty typedefs. The patch itself looks good, but if you touch this code anyway, the linked list here seems like an incredibly suboptimal data structure. Even just a simple array that gets realloced would seems better.