Re: ISW dmraid-rc15 fails to activate raid0 due to incorrect cylinder calculation

Giuseppe Iuculano <[email protected]> Sun, 19 Apr 2009 12:42:04 +0200
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
Hi,

Danny ha scritto:
> Upon many attempts and comparisons to rc14 I discovered that
> dmraid-rc15 calculates the number of cylinders incorrectly..

The relevant code in isw.c is:

if ((r->sectors = dev->vol.map.blocks_per_member - RAID_DS_JOURNAL))

But in dmraid rc14 was:

if ((r->sectors = dev->vol.map.blocks_per_member))


What is the purpose of this change?

Cheers,
Giuseppe.

_______________________________________________
Ataraid-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ataraid-list
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknrAAEACgkQNxpp46476aq+aACgh8oFi0myiCXCh01BYaZiS+Gg
I88An3zY8Qv0v9Rp+EaamNVIoTzAj9mt
=7g1d
-----END PGP SIGNATURE-----