]> xenbits.xensource.com Git - xenclient/kernel.git/commit
Blkfront greater-than-16-vbd fixes
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Jul 2008 09:45:09 +0000 (10:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Jul 2008 09:45:09 +0000 (10:45 +0100)
commit36cf95946d951fd7fe0ef37c9c3c408dcd58a1fd
treea1a3d890f696f0133964d05d55cd0451552efafa
parent8bd7d85c8455298be13b349a03099cc1384124b5
Blkfront greater-than-16-vbd fixes

While reading through the code again, I realized that if you did
something like:

block-attach xvdb
block-attach xvdq
block-attach xvdc

The extended blkfront code would allocate the wrong device for xvdc,
since we had changed mi->type along the way.  To fix this, have a
separate "major_info" entry for the extended block devices, even
though it isn't technically a different major number.  With these
fixes in place, the above sequence works for me.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
drivers/xen/blkfront/vbd.c