Re: [PATCH v3 5/7] blk-mq: avoid inserting requests before establishing new mapping

2015-07-19 Thread Ming Lei
On Sun, Jul 19, 2015 at 12:28 AM, Akinobu Mita wrote: > Notifier callbacks for CPU_ONLINE action can be run on the other CPU > than the CPU which was just onlined. So it is possible for the > process running on the just onlined CPU to insert request and run > hw queue before establishing new mapp

[PATCH v3 5/7] blk-mq: avoid inserting requests before establishing new mapping

2015-07-18 Thread Akinobu Mita
Notifier callbacks for CPU_ONLINE action can be run on the other CPU than the CPU which was just onlined. So it is possible for the process running on the just onlined CPU to insert request and run hw queue before establishing new mapping which is done by blk_mq_queue_reinit_notify(). This can ca