On Wed, Jan 04, 2017 at 06:10:59PM +0000, Song Liu wrote: > > > On Jan 4, 2017, at 9:57 AM, Shaohua Li <shli@xxxxxx> wrote: > > > > + spin_lock_init(&conf->pending_bios_lock); > > + conf->batch_bio_dispatch = true; > > + rdev_for_each(rdev, mddev) { > > + if (blk_queue_nonrot(bdev_get_queue(rdev->bdev))) { > > + conf->batch_bio_dispatch = false; > > Shall we skip this check for the journal device? yep, will add it in next post Thanks, Shaohua -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html