News for hackers. Stuff that matters.
Re:Regression in Linux 4.14 – using bcache can destroy the f... by iforgotpassword on Tuesday November 21, 2017 @06:25PM (#15752681)
The field was set to 0 by a function it was passed to previously.. It didn't do that in older kernel versions so it kept the proper value, so a classical miscommunication (or none at all) between devs.
Re:Regression in Linux 4.14 – using bcache can destroy the f... by mlyle on Wednesday November 22, 2017 @02:40AM (#15755040)
No-- the cloning operation didn't preserve the partition information. When I first bisected/found the issue I thought it was as you describe, but it's really just that cloning 0'd it out in the new copy and everything else was proper.
Re:Regression in Linux 4.14 – using bcache can destroy the f... by remar on Wednesday November 22, 2017 @01:14AM (#15754712)
This sounds exactly like the sort of behavior that should be specified/committed in the form of a unit test.

That would've caused this code change to fail, unless I'm missing something.

Re:Regression in Linux 4.14 – using bcache can destroy the f... by masklinn on Wednesday November 22, 2017 @09:01AM (#15756798)
> The field was set to 0 by a function it was passed to previously.

The entire structure was just memset to 0, it's not like the struct was carefully initialised.