mtd: put flash block erasing into wait queue, if has any thread in queue

From: Li Wang
Date: Thu Aug 14 2014 - 05:51:43 EST



flash erasing maybe block writing operation.
make erasing operation sleep, when the other thread is in wait queue.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/