[PATCH] libata: make user scan wait for scan to complete
authorTejun Heo <htejun@gmail.com>
Sat, 30 Sep 2006 09:07:17 +0000 (18:07 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:40:29 +0000 (22:40 -0500)
commit309afcb5c87b5a41da51cc0c36f61c0e0d43ca9a
tree21566a73f25ec3b91163c5a0ba0252e7079c7370
parent722420fe6e2ab63bebc5a9ea346016b59076d75d
[PATCH] libata: make user scan wait for scan to complete

Make user scan wait for scan to complete.  This way user can wait for
warm plug request to complete and is prevented from causing EH event
storm by repetitively issuing scan request while EH is in progress.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Fajun Chen <fajunchen@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c