Closed mrobbetts closed 8 years ago
@chrisrd @perfinion @ryao thank you all for working on this. That patch looks good to me and you all agreed it's correctly I'll get it merged.
OK, after giving this a careful looking over I'm convinced it's correct too. I've merged it. Thank you everyone! Merged as:
zfsonlinux/spl@8fc851b sysmacros: Make P2ROUNDUP not trigger int overflow
@behlendorf Thanks for pulling this in!
you need to pull in the second pull request too. The header file from spl is in the zfs repo too: https://github.com/zfsonlinux/zfs/blob/master/lib/libspl/include/sys/sysmacros.h#L53-L81
This pull request does the exact same fix for that file too: https://github.com/zfsonlinux/zfs/pull/3949 It also removes the duplicated definition.
@perfinion thanks for the reminder. I've just pulled it in.
Since updating to 0.6.3 (also kernel 3.14.5-hardened on Gentoo) I am seeing some of these in my dmesg:
This is obviously a 'hardened' (64-bit) kernel with PaX enabled. I saw it most recently when I tried to eix-sync my Gentoo installation (with
/usr/portage/
stored on a zfs file system). That errored out with:Is this a problem with ZoL, or my configuration?