Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1630818pxk; Fri, 18 Sep 2020 19:16:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+09iLLfLRzwoEakFwry66gf9+2mmxwZFiuvJxmttDcWHxQGPGdetIye4EusCsPcQgkCA0 X-Received: by 2002:aa7:de82:: with SMTP id j2mr43574124edv.3.1600481810625; Fri, 18 Sep 2020 19:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600481810; cv=none; d=google.com; s=arc-20160816; b=YFwfbyjxJn2GOurJ+iYosZ2v5g6c8206UmHWUp5KfzcEdalxLvMMh1pf1EC3ps4V5D ze3kjUa2bA9qxmGiNS/JKZV3Ye+f2nOFpkJY2651OZXH/VNm9ANBu4qALfb2ov79i0Wz JcM6PSn0GLD7ztkULk0GUx7YxcTQ18ywtj3nwZMQXirF5VLS2hq/mRSTzRuGEiX0Y8jA fJ7+eD0J32UltQBiEKVXYhFqZXyTGKdzkjiSJ3Rl76oof5xAJm6otUJq/vbJZGzyGgj2 sHDO/obT5a7smW+2DsOxvcCXFK7qQhz+lK/Zvi3woo78Sn7J7LWh8V8n+5bNK0g/Lxc6 Ua5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=nFFLn7AV6kyLatrkJMMVZY+nFSMn67h4QEFu+ibH1kQ=; b=rCF9uWTR7wWVTWgatMT+I+Su0pyxJjTwOn5+N875h42luXF4wfoZW10xPDkl6n1QBo pCbkEaIHS+9BdT67J6cNXvYQGk6Fbtjh47OYKWmeez0mFL4ez1mwn1+CgRXktljzknRE ezwJPcuT8KCUdPERAiSq9sfmxHFbDi/vdFlJ7NvzZA+qko22uFxGORr2CfsFxPeJ5JCF KDPYtA0CIH5Der9xazvAKMK0USDW1ZfLyDHiE6Vc0Fha9Gra4KT26P+N41fa4HoO1Pf4 uqFe+Redl4b2xj/+ckF5ySAeQV3m19DcawjgfA2DsMefIVNHEB1cSj+4bRBEpettiqqi 1IzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si3655560eju.83.2020.09.18.19.16.26; Fri, 18 Sep 2020 19:16:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726152AbgISCPA (ORCPT + 99 others); Fri, 18 Sep 2020 22:15:00 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:33322 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726009AbgISCPA (ORCPT ); Fri, 18 Sep 2020 22:15:00 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 78C07DA9E8526306AE74; Sat, 19 Sep 2020 10:14:57 +0800 (CST) Received: from [10.174.179.91] (10.174.179.91) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Sat, 19 Sep 2020 10:14:56 +0800 Subject: Re: [PATCH -next] rsxx: Convert to DEFINE_SHOW_ATTRIBUTE To: Jens Axboe , Greg Kroah-Hartman , Joshua Morris , Philip Kelleher CC: , References: <20200716090432.13691-1-miaoqinglang@huawei.com> <87a5f046-e77b-af25-6656-c8b075a16edf@kernel.dk> From: miaoqinglang Message-ID: Date: Sat, 19 Sep 2020 10:14:55 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <87a5f046-e77b-af25-6656-c8b075a16edf@kernel.dk> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.91] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/7/17 10:16, Jens Axboe 写道: > On 7/16/20 7:37 PM, miaoqinglang wrote: >> >> 在 2020/7/16 23:45, Jens Axboe 写道: >>> On 7/16/20 3:04 AM, Qinglang Miao wrote: >>>> From: Liu Shixin >>>> >>>> Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. >>> None of these apply against the 5.9 block tree, looks like some >>> read -> read_iter conversion has happened in another branch that >>> I'm not privy to. >> >> Hi Jens, >> >> Sorry I didn't mention it in commit log, but this patch is based >> on linux-next where commit <4d4901c6d7> has switched over direct >> seq_read method calls to seq_read_iter, this is why there's conflict in >> your apply. >> >> Do you think I should send a new patch based on 5.8rc? > > That'll just create a needless conflict. But I don't even know what tree > is carrying the patch that changes it to use seq_read_iter, so hard to > make other suggestions. > Hi Jens, I resent a new patch against linux-next(20200917), and it can be applied to mainline cleanly now. Thanks. > Alternatively, I can hang on to them until the other change hits > mainline, and then queue them up after that. >