Re: Probable bug in md with rdev->new_data_offset

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

 



On Fri, Apr 01, 2016 at 04:31:28PM +1100, NeilBrown wrote:
> On Tue, Mar 29 2016, Étienne Buira wrote:

../..

> 
> I guess sb->new_offset should be called sb->delta_offset.  If you look
> in md_p.h you will see:
> 
> 	__le32  new_offset;	/* signed number to add to data_offset in new
> 				 * layout.  0 == no-change.  This can be
> 				 * different on each device in the array.
> 				 */
> 
> which goes some way to explaining the situation.
> 
> NeilBrown

Hi Neil,

Thank you for the explanation, i have also looked at the sb loading
counterpart, and indeed, PAX did catch a false positive here.

For the record, the bug have been reported on Gentoo bugtracker [1].

[1] https://bugs.gentoo.org/show_bug.cgi?id=578502

Regards.

--
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