Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp746185imm; Tue, 5 Jun 2018 03:56:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNbg1VvW1Xq9QiVa4VPdy4MQJiXzm4R0DXbrGDc0jN+VGd5L8qm+wmJYd0YmGThXBy94jU X-Received: by 2002:a63:3706:: with SMTP id e6-v6mr20223361pga.281.1528196169056; Tue, 05 Jun 2018 03:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528196168; cv=none; d=google.com; s=arc-20160816; b=P6W+Qlwc/DGbs/GXHa3Z1TABQ68L2bUuhZI/Zdemd1m+zbMNBXeHDE748KPEYC7J9Z 7910/UxgGwVvPqj45NHyCFWxZNIJmdgDBmVqgANPecun/VEAXlM+dP+U5uSoFC9X7FaO 90PCNfsup2X+EcDxWvFtIK6M+hrZi+THrIdJo8vMLaL0OtKyVFZV0eNET8e2jWYUY0JG 5zjGNJNi4Z5ahHyV9qDL+wbv+11B9z7tgl+VqlHoMeKGVovRDpQ0RUbQtVaJNkfmfZMX dSEN3enrs2FbjOfAK3ENQkjDZZRn1K1ihm6j8/7hMTWG6eTEk83vPiz7UN58OCclJUie 4qOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=/E/4V+h5QTcGFTV1VktckEtcrhjBVezSsoS7nxMvfkQ=; b=Sy1KAGKs6PN9JWHamwfdOHcEWesHp52iNGyyrZmc1cy0vsAg/XjVNKxhJEiNvlMIAh Mr9mIfZ+i37renl7wiH8lgyuUN6BpOk0i89Dxi5VN26UfNJdUB6qXAK1UfEu4iNJcRq2 p+vuMMXdSCU06GKOzOvx8or/uCwzaeO076J6b9D7xuBSI3q2GU3CO16oUq4SKjVEdLRb OljIsmZNzX0UyaT8YuTRGiuKExJSXOyEzau5LcbUN3ax1I+VgeY6eQRCRq1iOhm34Q9/ 2ZWHgkSg6WaSXBZGHcpNG+cF1FjXjX0T8sq8O2xw1fek2Sppn95Z5w5q4M5EFXf3axIp DItQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v7-v6si47381513plp.304.2018.06.05.03.55.54; Tue, 05 Jun 2018 03:56:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751853AbeFEKy7 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 5 Jun 2018 06:54:59 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:5934 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751820AbeFEKyz (ORCPT ); Tue, 5 Jun 2018 06:54:55 -0400 Received: from DGGEMM403-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id 1C4533DF83C86; Tue, 5 Jun 2018 18:54:52 +0800 (CST) Received: from DGGEMM511-MBX.china.huawei.com ([169.254.1.80]) by DGGEMM403-HUB.china.huawei.com ([10.3.20.211]) with mapi id 14.03.0382.000; Tue, 5 Jun 2018 18:54:46 +0800 From: Caizhiyong To: Wang YanQing , "axboe@kernel.dk" , "gregkh@linuxfoundation.org" , "pombredanne@nexb.com" , "tglx@linutronix.de" , "rdunlap@infradead.org" , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Jiangheng Subject: RE: [PATCH v5] block: add verifier for cmdline partition Thread-Topic: [PATCH v5] block: add verifier for cmdline partition Thread-Index: AQHT6Av4OP23kM1HY0i+PmOza2mCRqRRC8QAgACahkA= Date: Tue, 5 Jun 2018 10:54:45 +0000 Message-ID: References: <20180510030637.GA25734@udknight> <20180605093840.GA9488@udknight> In-Reply-To: <20180605093840.GA9488@udknight> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.217.112] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ACK. the patch is OK for me > -----Original Message----- > From: Wang YanQing [mailto:udknight@gmail.com] > Sent: Tuesday, June 05, 2018 5:39 PM > To: axboe@kernel.dk; gregkh@linuxfoundation.org; > pombredanne@nexb.com; tglx@linutronix.de; Caizhiyong > ; rdunlap@infradead.org; Jiangheng > ; linux-block@vger.kernel.org; linux- > kernel@vger.kernel.org > Subject: Re: [PATCH v5] block: add verifier for cmdline partition > > On Thu, May 10, 2018 at 11:06:37AM +0800, Wang YanQing wrote: > > I meet strange filesystem corruption issue recently, the reason > > is there are overlaps partitions in cmdline partition argument. > > > > This patch add verifier for cmdline partition, then if there are > > overlaps partitions, cmdline_partition will log a warning. We don't > > treat overlaps partition as a error: > > " > > Caizhiyong said: > > Partition overlap was intentionally designed in this cmdline partition. > > reference http://lists.infradead.org/pipermail/linux-mtd/2013- > August/048092.html > > " > > > > Signed-off-by: Wang YanQing > > --- > > Changes > > v4-v5: > > 1:Delete unnecessary blank line at begin and end of logs. > > 2:Delete newline character in log, pr_* will add newline > > automatically. > > > > v3-v4: > > 1:Fix grammar typo, reported by Randy Dunlap. > > 2:Delete unnecessary type casting, reported by Caizhiyong. > > 3:Record the reason why we can't treat overlapping partitions > > as errors into changelog. > > > > v2-v3: > > 1:Fix log one pair of overlaps partitions twice in cmdline_parts_verifier. > > 2:Fix out of bound access in cmdline_parts_verifier. > > > > v1-v2: > > 1:Don't treat overlaps partition as a error, but log a warning. > > > > Hi! Jens Axboe > > > > What is your suggestion? > Hi! All > > I just want to know what is the status about this patch? > > ACK or NACK is welcome. > > Thanks