[SCSI] use dynamically allocated sense buffer
commit780018220c5dad61edf04f57fb4439dfc909ad65
authorFedor <fedork@ubuntu.(none)>
Thu, 3 Feb 2011 15:36:21 +0000 (3 10:36 -0500)
committerFedor <fedork@ubuntu.(none)>
Thu, 3 Feb 2011 16:54:30 +0000 (3 11:54 -0500)
tree8da26692fc4cbdb50e2843df15ecd300705acf45
parentd55763ed824f579f97659dd8e05207b03c214bdc
[SCSI] use dynamically allocated sense buffer

Solves sporadic crashes on SCSI command completion (kernel BUG in unlock_page).
Ref: http://lkml.org/lkml/2007/11/19/2

kernel.org commits
166a72878f76e911f2d1ce4b2310d4403e94be11 [SCSI] fix scsi_setup_command_freelist failure path race
de25deb18016f66dcdede165d07654559bb332bc [SCSI] use dynamically allocated sense buffer
5b7f16804ad90e7f7a10c05b6a2e782598d9745a [SCSI] don't use __GFP_DMA for sense buffers if not required
164fc5dcd6a1026fc713f5c63fad899aa484888c scsi: fix sense_slab/bio swapping livelock
e507e30b803fb56d768ed9a597e7609b74d2db21 [SCSI] consolidate command allocation in a single place
1c353f7d616a4ef04b5e73fe7a2184baa039f06f export command allocation and freeing functions independently of the host
542bd1377a963070bc4a03ff7d2690ddf3920596 [SCSI] fix SLUB WARN_ON
61d7416a286e840d905c18b1e6b0977c036c8656 [SCSI] bug fix for free list handling
release/src-rt/linux/linux-2.6/drivers/scsi/hosts.c
release/src-rt/linux/linux-2.6/drivers/scsi/scsi.c
release/src-rt/linux/linux-2.6/include/scsi/scsi_cmnd.h