Menu

#10 Make vhba compatible with kernel 2.6.37 SCSI host API

closed
nobody
vhba-module (5)
5
2012-09-30
2011-01-06
No

Due to the SCSI host lock push-down changes introduced in 2.6.37 (see http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f281233d3eba15fb225d21ae2e228fd4553d824a for more details), trying to use current vhba on 2.6.37 leads to oopses and kernel panics - e.g. see http://bugs.gentoo.org/show_bug.cgi?id=350753

Add some #ifdefs to enable compatibility both with 2.6.37 and older API. Note that if future kernel versions remove the DEF_SCSI_QCMD macro, this
issue will need to be revisited.

Discussion

  • Rok Mandeljc

    Rok Mandeljc - 2011-02-27

    Patch applied. Thanks!

     

Log in to post a comment.