RE: [PATCH 1/2] block: Move general unplug callback function from md/raid to blk-core

2012-06-07 Thread Tao.Guo
Well, I think I will take your suggestions. I am sending another version of the patch. Thanks, -Tao > -Original Message- > From: shliker...@gmail.com [mailto:shliker...@gmail.com] On Behalf Of > Shaohua Li > Sent: Wednesday, June 06, 2012 10:07 AM > To: Guo, Tao > Cc: glorious...@gmail.co

RE: [PATCH 1/2] block: Move general unplug callback function from md/raid to blk-core

2012-06-04 Thread Tao.Guo
If you ever tried to implement unplug function in umem, you would find the code was almost identical as in dm/raid driver. For other components which also need such unplug mechanism, it will much more convenient to have such facilities. PS: What's your specific concern about blk_plug_cb handles e