Stefan Richter wrote:
Hi all,
some time ago eh_device_reset_handlers of most drivers were changed to
grab the host lock.
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=94d0e7b805961c44e4dc486ffc21075084bb7175
Are there general reasons to acquire the host lock in eh_s?
The patch you reference simply maintains existing locking rules,
whatever they were at the time.
For drivers that unlocked the host lock and did their own thing, those
lock manipulations simply went away.
For drivers that took no locks, they were updated to take the host lock
since that is no longer done by the upper layers.
Jeff
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html