subset detection

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to detect if a given raid_set is a subset or a main set.  It
looks like raid_set->sets is a list_head that serves both as the list
head of a master set, and simultaneously as the next/prev sibling for
sub sets.  Because of this, list_empty() is true for both an independent
raid_set, and also for the subset of a master/subset pair, so you can't
tell the difference, right?  So how can you tell if a given raid_set is
a subset of another, or an independent one?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAk2KunAACgkQJ4UciIs+XuKEewCY+1fqOP0+B69F8Ms5/r9lBiFc
/ACfR8FaplFx9xLE+ZBV57ew93SOLt8=
=C40a
-----END PGP SIGNATURE-----

_______________________________________________
Ataraid-list mailing list
Ataraid-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ataraid-list


[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux