Re: [PATCH] jbd2: gate checksum calculations on crc driver presence, not sb flags

2015-10-01 Thread Darrick J. Wong
On Thu, Oct 01, 2015 at 12:35:12AM -0600, Andreas Dilger wrote: > On Sep 30, 2015, at 11:47 AM, Darrick J. Wong wrote: > > > > Change the journal's checksum functions to gate on whether or not the > > crc32c driver is loaded, and gate the loading on the superblock bits. > > This prevents a journa

Re: [PATCH] jbd2: gate checksum calculations on crc driver presence, not sb flags

2015-10-01 Thread Nikolay Borisov
On 09/30/2015 08:47 PM, Darrick J. Wong wrote: > Change the journal's checksum functions to gate on whether or not the > crc32c driver is loaded, and gate the loading on the superblock bits. > This prevents a journal crash if someone loads a journal in no-csum > mode and then randomizes the super

Re: [PATCH] jbd2: gate checksum calculations on crc driver presence, not sb flags

2015-09-30 Thread Andreas Dilger
On Sep 30, 2015, at 11:47 AM, Darrick J. Wong wrote: > > Change the journal's checksum functions to gate on whether or not the > crc32c driver is loaded, and gate the loading on the superblock bits. > This prevents a journal crash if someone loads a journal in no-csum > mode and then randomizes t