Re: raid5 trim OOPS / use after free?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"DeGon, Michael J" <michael.j.degon@xxxxxxxxx> writes:
> All, 
>
> On Friday, I installed and tested the pre- 3.7 raid5 trim kernel,
> 3.6.10 kernel.
>
> I was able to create an xfs filesystem on a RAID5 SSD array without
> the kernel panic.
>
> This leads me to believe that the raid5 trim feature added in kernel
> 3.7 may have caused the issue I reported.

It is will understand that the crash problem appeared with the TRIM
patches for RAID5, so no surprise.

Regards,
Jes

>
> Regards, 
>
> Michael 
>   
>
> -----Original Message-----
> From: linux-raid-owner@xxxxxxxxxxxxxxx
> [mailto:linux-raid-owner@xxxxxxxxxxxxxxx] On Behalf Of Jes Sorensen
> Sent: Monday, October 21, 2013 5:29 AM
> To: Shaohua Li
> Cc: stan@xxxxxxxxxxxxxxxxx; linux-raid@xxxxxxxxxxxxxxx; NeilBrown; Jeff Moyer
> Subject: Re: raid5 trim OOPS / use after free?
>
> Shaohua Li <ShLi@xxxxxxxxxxxx> writes:
>> On 10/18/13 2:03 PM, "Jes Sorensen" <Jes.Sorensen@xxxxxxxxxx> wrote:
>>
>>>Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx> writes:
>>>> On 10/17/2013 4:58 PM, Jes Sorensen wrote:
>>>>> Hi,
>>>>> 
>>>>> I have been trying out the trim code in recent kernels and I am 
>>>>> consistently seeing crashes with the raid5 trim implementation.
>>>>> 
>>>>> I am seeing 3-4 different OOPS outputs which are very different in 
>>>>>their  output. This makes me suspect this is a memory corruption of 
>>>>>use after  free problem?
>>>>> 
>>>>> Basically I have a system with an AHCI controller and 4 SATA SSD 
>>>>> drives hooked up to it. I create a raid5 and then run mkfs.ext4 on 
>>>>> it and the fireworks display starts.
>>>>> 
>>>>> I first saw this with an older kernel with some backports applied, 
>>>>>but I  am able to reproduce this with the current top of tree out of 
>>>>>Linus'
>>>>> tree.
>>>>> 
>>>>> Any ideas?
>>>>
>>>> See a nearly identical problem posted to this list yesterday:
>>>>
>>>> http://www.spinics.net/lists/raid/msg44686.html
>>>
>>>Looks the same - I believe I have seen that variation of the problem 
>>>as well.
>>
>> Ok, looks we have some problems with request merge in SCSI. I just 
>> posted some patches to linux-raid maillist, please test and report back.
>
> Hi Shaohua,
>
> Thanks for the quick reply. I will test them as soon as I can, but it probably wont be until the end of the week.
>
> Regards,
> Jes
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux