Warning: There's an upcoming patch which will be part of any stable kernel (already released in linux-4.4.31) which will break most devices using the megaraid_sas drivers. The bad commit is:
> scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
> Commit 02b01e010afe ("megaraid_sas: return sync cache call with
> success") modified the driver to successfully complete SYNCHRONIZE_CACHE
> commands without passing them to the controller. Disk drive caches are
> only explicitly managed by controller firmware when operating in RAID
> mode. So this commit effectively disabled writeback cache flushing for
> any drives used in JBOD mode, leading to data integrity failures.
> [mkp: clarified patch description]
> Fixes: 02b01e010afeeb49328d35650d70721d2ca3fd59
Once you boot a kernel containing this patch you RAID adapter won't see any disks/volumes anymore.
Downgrading the kernel solves the problem. Or you can apply the patch from $URL to solve the problem.
can you confirm is fixed in that version ?
Well, only the 4.4.x LTS branch was affected.
The bad commit didn't appear in any other branches.
4.4.x was fixed with =sys-kernel/gentoo-sources-4.4.32 which contains ae94da4c53b77058241fd3551f55cd40327be37d.
4.8.x which was never affected carries both commits (the bad one, 32f60e9b621fff93433fe398cedde009f184c63e and the fix, 8ed841d6c045c31c3309b70395b920cb707537d4) in 4.8.7.
So if we make sure that =sys-kernel/gentoo-sources-4.4.31 never goes stable (probably apply a pmask) we can close this bug as resolved.
I just removed the affected version so I'm closing this one.