From mboxrd@z Thu Jan 1 00:00:00 1970 From: Song Liu Subject: Re: [PATCH] raid5: only dispatch IO from raid5d for harddisk raid Date: Wed, 4 Jan 2017 18:10:59 +0000 Message-ID: References: <9e987c0d95c49224da7fb82477dd10fcacf4d794.1483552525.git.shli@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <9e987c0d95c49224da7fb82477dd10fcacf4d794.1483552525.git.shli@fb.com> Content-Language: en-US Content-ID: <85ABAFCA752E294CA84F18FD46F8FDB9@namprd15.prod.outlook.com> Sender: linux-raid-owner@vger.kernel.org To: Shaohua Li Cc: "linux-raid@vger.kernel.org" , Kernel Team , NeilBrown List-Id: linux-raid.ids > On Jan 4, 2017, at 9:57 AM, Shaohua Li wrote: >=20 > + spin_lock_init(&conf->pending_bios_lock); > + conf->batch_bio_dispatch =3D true; > + rdev_for_each(rdev, mddev) { > + if (blk_queue_nonrot(bdev_get_queue(rdev->bdev))) { > + conf->batch_bio_dispatch =3D false; Shall we skip this check for the journal device?=20 Song