Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7779019ybi; Mon, 22 Jul 2019 20:36:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKWPdqwGKfu3TJtbsXE3S/7v7g9I6oLNTh98VPkHjDUEVQfO2seUGr5coam31waCvlaUHC X-Received: by 2002:a63:20d:: with SMTP id 13mr63288118pgc.253.1563852961529; Mon, 22 Jul 2019 20:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563852961; cv=none; d=google.com; s=arc-20160816; b=WMCHohfH4RalP1WTZ2KlKEHEsShI7wTryaoAclh3qYS6VvXJm4vuYeBBY4c3prfOgN lCkJ+VFXD49C8JeU/mhRXn9X2fgq2F0HZVWbTuMXC/iyPqLORWKfJ3fsU2vGsUqw9Vpm IZgc2TGhxscb8aYxmG2OSbyp5iud0NfQ0Kzvgx7ohnHI3MxDxHF7QteNAlNB18+OEMLP 5QkwpukRFHTxtMkC9klt/X1cUJPAFnWfwknbuP/bM3pL9D04rDog2i76WMw6r3dnxTli kKZ2I+JeimZK0/bmQVllFbUFtisB9EnHXkOhz6JD/QwpPrPT06bD8q3cr4Vc1YUN+lfG f+Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Y5NLHCvyvtEY+fLnxFgCWbb8gW3X9ssvxOBTPCkuHdE=; b=ky2rs+Ku+Hf+43TMsazaDqIqLGrbqWDJm+AMCNM6qCKTzAkN03tAyb+pw7uUzU4/Xn jFowUcjbopDLTU+JjTwJnlVUedE05QdN6yp0JjVDFW6zzHJtHxcpuM1rlRjoSJKP5K3a 7+mK/LvALq40wcwevkcQ621xcRc4pQzJnNuRKQablyQKvAccPFTiD2GOgHcBQ5EeShWd Y82DPa4l7RK/F4SHV1qZKAv8894Z9Aiiauxbl8GSl9BCeSHd7tlKPD6WxSql6gXjToUS I0sEEw1OoHxdlfWRMabxiIlBuYRTSETE6ADyPBcb94p46t6TslwGTPJ7BKMcenEuA/Vh sumQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=puFbiiJs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18si11241602pfa.23.2019.07.22.20.35.45; Mon, 22 Jul 2019 20:36:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=puFbiiJs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731271AbfGVVqR (ORCPT + 99 others); Mon, 22 Jul 2019 17:46:17 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:37424 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729624AbfGVVqQ (ORCPT ); Mon, 22 Jul 2019 17:46:16 -0400 Received: by mail-qk1-f195.google.com with SMTP id d15so29609336qkl.4; Mon, 22 Jul 2019 14:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y5NLHCvyvtEY+fLnxFgCWbb8gW3X9ssvxOBTPCkuHdE=; b=puFbiiJsm0MXZ/zSTAfUMYUKLi0H4vYdLibW/lNqNMWvk5i0vKklONa3o9HBA/LehJ 0UU7NycEmierrY6s/YH5Tfq0C7THnC9ezLo/Z3lIoMXQAOQ41CudOUpDdQL52h63mafJ 4yl5B0IayHkKVns2oA8xDwV+F4+xx7lqnjl4TkYmX5yYip3wAw85Gm02smxbjJDJaSUi 1Rb8LrNPsdmBI+Qy79d/odFUhXJ8YDpk5nrD0iv7RAIgRtioRu4gWBeUYKZ8k9tuJLtK nukNZO8kNx5KcjlZZbYF6VmQmKNLdwWPlMRi4qaoYJCqv3K8CwzFajlq9KrgPagPcLcX AD6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y5NLHCvyvtEY+fLnxFgCWbb8gW3X9ssvxOBTPCkuHdE=; b=pU87ERFNEnymn3YfWyBoDMELh2up0SoivTDFC628uYwlLtlot75LwzKMnJ+JRsDcCq i0KDDRR2+rHJRCatf2HXuwMv8osvQ4+bEfUyE4T+Xu1nZuQAdNOoGWhiqLlNJmyjyCJw +VVlZpDPLRnuhc3MQC/hamUesHUcGSlKj8fLD22wp/zzcdYCBk5tAVom8DgUXoQlH+kq hV8TXM0MDl5TrFV49LVONdEMGo5pay6boKf90F24pU6zdIEXxi2B4IT1QsWvwqOZypJG UZi0Izbmzau260TbMB2p/vyCPK6T0VJHXYVKSVxktblFdNliHNZfs9uwRZsN2h3/9QIE PGVA== X-Gm-Message-State: APjAAAXmDrarcIVocCfploqB2xOXLRooedEMoMWuU211spQgVBhRWL8n s8/gnDvIGXQhKpO6YK+XO9xYm7R44QXKYmnrF9c= X-Received: by 2002:a37:4d82:: with SMTP id a124mr46381963qkb.72.1563831975659; Mon, 22 Jul 2019 14:46:15 -0700 (PDT) MIME-Version: 1.0 References: <20190702143548.133020-1-houtao1@huawei.com> In-Reply-To: <20190702143548.133020-1-houtao1@huawei.com> From: Song Liu Date: Mon, 22 Jul 2019 14:46:04 -0700 Message-ID: Subject: Re: [PATCH] raid1: use an int as the return value of raise_barrier() To: Hou Tao Cc: linux-raid , Song Liu , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 2, 2019 at 7:30 AM Hou Tao wrote: > > Using a sector_t as the return value is misleading, because > raise_barrier() only return 0 or -EINTR. > > Also add comments for the return values of raise_barrier(). > > Signed-off-by: Hou Tao Applied. Thanks for the patch. Song