Re: [PATCH] fix mirror device creation with lvcreate failed

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

 



On Wed, Sep 17, 2014 at 12:21:04AM +0100, Alasdair G Kergon wrote:
> >  	rdev->sb_size = sizeof(*sb);
> What should sb_size really be?
> > -	ret = read_disk_sb(rdev, rdev->sb_size);
 
Or are the sizes in the existing code correct (the dm sb is always 512 bytes?), 
with the problem coming from something in sync_page_io()?

(4k sector device? large page size? incorrectly uninitialised field?)

Alasdair

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux