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.
[ Parent
| on HN ]
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.