Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp93317lqm; Mon, 10 Jun 2024 13:53:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV5Jsza05Ija8FH263MiPoAy12/0oxbnjs+1FXwkZhh9mDUimvKmFrG1kMaoa0pFROy0/RDxpa4gfStpikqn7EQqOEZXuIR/BYhTQclRA== X-Google-Smtp-Source: AGHT+IGTUt9b85tmTFnzeYGaU7AnGzqQpGy9lsoKOObEtsVJcqzLOqjzaVKeIL9TT7+1ZDt12tg4 X-Received: by 2002:a05:6808:3ca:b0:3c9:6bdd:27f9 with SMTP id 5614622812f47-3d210d34547mr9620516b6e.6.1718052836121; Mon, 10 Jun 2024 13:53:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718052836; cv=pass; d=google.com; s=arc-20160816; b=niE3YkffIDxedn7DVlqq2fQ/i3w9dgH7WZJuvUXP5kv6gYXmbkkOTj34ybe1zaXwYX PBJHVeP520y+exl/R96BBE+/6pm4nQs4lFtPiW4tOm2o91yNhS7tWd5c/dX6EMM+Rach yo9woM7C6G3lHza7MH7XnkR5ycmEsv2/l9zhHxp0ZeOPaYdzPEdfdcWP5rZB/CVu7PUm hGGYonc8yUoXMbARsNRt6vmi8IjDYF3t9VXNm3Sy6Byv/lZP+OAdI6wB2j1QVoTSqgKk JZzpwcJlooFS9QAh/hMVSPwkT1WSzFS9fTtBG+PwjoCTC1xgbs//MLdSgwd8z11ym9G8 8YbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=K8KGJ3qdaNDs2fnn3De4uIqWVGSMjgQOHseds840ChE=; fh=AASnHTrS+DCpDAJxZwQBh2l5HWfT543KRTiEHavRUp0=; b=gRAwPi0BPVNMTqILdLeztvHhusWjbXfn2h6d4lq6U5+6mEcNU9IxzJHrNUNenBqFsW 2Vy3W+epYsKzw5q4mFhRxTAZe2NsOtbhZcXPwnS21lMIfzoUv8UdzYXHYv2Khj8XKVmz gq5P6rKgc218PaFQYHiZyKnSURG5rUESmDRNeegg1AC4kHd6pFjZARqjmKtBvfoP4PjS WRWc9n1y670bGaU1wSVUw+nVOnppia7u/b9gm5gP9AGc9810iI/OSU0e/wzdQ0eeSlao UbYBC2lUGI/0jbYxRaBD6x2o4Rg72Z7pz1HZaXuZ2HBj5rbDwcRQYM5UoyWOppw3nvm2 QK7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rbYPqZ+G; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208890-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-795ccf340f2si355495485a.39.2024.06.10.13.53.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 13:53:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208890-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rbYPqZ+G; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208890-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D03B31C21356 for ; Mon, 10 Jun 2024 20:53:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CDC15466C; Mon, 10 Jun 2024 20:53:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rbYPqZ+G" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63CD717545; Mon, 10 Jun 2024 20:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052828; cv=none; b=cOVg/dszP2+nB4OO4o5XsIjjZFDBLZYMMKiG9ydsyfnws/L+w8y4UAhzGf7NpEiM0QdiakwTZwFOgN75NOZ1mgztLIih0gxY2ljho6V38LDmQPc2Qjtz6Kyqn+h8mjzZhIlj/DChHVrqm3OhiHZ3DfbY4alRcqJv1EZWIPnw0vI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052828; c=relaxed/simple; bh=K8KGJ3qdaNDs2fnn3De4uIqWVGSMjgQOHseds840ChE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=R596c6tHpVEtNSOKn9LSka95GtKBRlcx/MCTPyhJTFQTnVMMOe8qimJm3UP9Po715TBLzR4g8qLJn1ChLTjMvEnLuN1VnIP23sqei8lJ20zUx5F0tQg143+EMBeSlW5dy2GWMUl2qEi5XDup+vd/Gjdk4XyDSR43AKDBr9IzrGA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rbYPqZ+G; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D47BFC4AF1C; Mon, 10 Jun 2024 20:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718052827; bh=K8KGJ3qdaNDs2fnn3De4uIqWVGSMjgQOHseds840ChE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rbYPqZ+GPmT0pYgY/RMKW/RyxTDHR2Me8Eh8qJLo3NXZ5G0ORniTcJQeS88xBahsA uDNmACWTle4eh/dEkMpZv4h6hq8T1yPW7nhkmGTFiS6q/PV8mRCA3jdkqWBkiC5P1h ibjAlxrfTlPvp9IK/e7n3sjUw4PTX4GUo0aIW8AakLityf4VzGxMx7p2OXuyUDoj35 kiDgTr8eSmpfotR3uZmFT1LvffrKg60Pcb1XhNKnIGlCaWq24Sim5RJNTTlt5qHvzf 81YLqMcvd0L+hJbZa5y+5xObP/hOiD1ySIWzKkvGL3WoahlW9/oxLnx1VTAO0V3rKo Hh2oJg23IuQcQ== Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2eadaac1d28so43435221fa.3; Mon, 10 Jun 2024 13:53:47 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVMOTRXtzHneLaJmFy7qdwkaT1Kpa5K0IJxvbqe0y57vRI0tjElp3zPDj/h466rJ4wq0eLyQdDgjaKqxoiGyjzL+Jy+dc/yPuvmhhTd X-Gm-Message-State: AOJu0YwBRES+UoWsz0V7CYVExHjzKc77g1qtP/9ZK2EDFyuqe8MBienS 0Jtpb+lqa7V8gfRNioaFegIjl12YrB9GIvhkBX1/PG3jP1G78waYSqWB2gZ15dVqR1HSC5P54sU q1FLih6GnjRId/zkotnP1PmuIlFE= X-Received: by 2002:a2e:8746:0:b0:2eb:d8d2:f909 with SMTP id 38308e7fff4ca-2ebd8d342c5mr35955871fa.16.1718052826217; Mon, 10 Jun 2024 13:53:46 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240528203149.2383260-1-linan666@huaweicloud.com> In-Reply-To: <20240528203149.2383260-1-linan666@huaweicloud.com> From: Song Liu Date: Mon, 10 Jun 2024 13:53:34 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] md: make md_flush_request() more readable To: linan666@huaweicloud.com Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai3@huawei.com, yi.zhang@huawei.com, houtao1@huawei.com, yangerkun@huawei.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 28, 2024 at 5:39=E2=80=AFAM wrote: > > From: Li Nan > > Setting bio to NULL and checking 'if(!bio)' is redundant and looks strang= e, > just consolidate them into one condition. There are no functional changes= . > > Suggested-by: Christoph Hellwig > Signed-off-by: Li Nan Applied v2 to md-6.11. Thanks! Song