From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 21F414203B4 for ; Mon, 17 Oct 2022 08:16:10 +0200 (CEST) Date: Mon, 17 Oct 2022 08:09:51 +0200 From: Christoph Hellwig To: Christoph =?iso-8859-1?Q?B=F6hmwalder?= Message-ID: <20221017060951.GA28409@lst.de> References: <20221013135352.933875-1-christoph.boehmwalder@linbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221013135352.933875-1-christoph.boehmwalder@linbit.com> Cc: Jens Axboe , Philipp Reisner , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig , drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] [PATCH] drbd: only clone bio if we have a backing device List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Oct 13, 2022 at 03:53:52PM +0200, Christoph Böhmwalder wrote: > + if (get_ldev(device)) { > + req->private_bio = bio_alloc_clone(device->ldev->backing_bdev, > + bio, GFP_NOIO, &drbd_io_bio_set); This adds an overly long line. Otherwise looks good: Reviewed-by: Christoph Hellwig