Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp659589ybi; Fri, 12 Jul 2019 02:35:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqziH/yAYxCawlzsXRedzoCKDUZEkQ2NC+5/7RI5iGfuuX2SJu5Uw52y5/H6Svu4fvVmY9bL X-Received: by 2002:a63:4105:: with SMTP id o5mr9976720pga.308.1562924115737; Fri, 12 Jul 2019 02:35:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562924115; cv=none; d=google.com; s=arc-20160816; b=bIc1/ntCJdKKtKqZuSj1sBhV/Rw+wfIi0V7yaK9VyOEj/KS+4UuRMjVSYO4r8GxhAm FmcMi9b9eDW3FwFeGmGzQrTCwRBofGHUMxuvpmDcLYIqXDVcGQ+9QScHc7ngao7PCJfL uK390CutuefMIXPq0CY+VXlEvdJ8Qxlw6UChVedeCP5ev64766asaFJUsy2H1B26u1AP eMA5/P7CkV+9JbRmESJDB2Q0SY92fxh2S6RXf7nJH/qYvn9S3gDsfTHR29YGSapxtI1e AilwSJjeG77sAdSTWUAHor5+HHh8yZ+yf65h8aY7W0I9Ak21M0TO0h+o47JTZp3KNisF f0JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eC6tQD9T3aF29QyALaexl3Es3eyzQ1q6vnBClxFE1/s=; b=k5jPkrVpcLD0wLXhIXjWRWlgJyoeM5G6x5pA1hH6Ah59mTNTFnp5Zp9qiiQ7NWTzfG Hr5CNeUtqMbnbDKbA97tIwmxpGUTaalorwCqSIuBY50ktkapElDUcvH8EVx7UYpnvVLN Jds3b7K1zA75RBdBO+1nSYFtLPEzBvQaasxXVaociZ8kLEBoycHWO6GbvdCLSXMfZIcI PIcz7SXcLpeVRYc4+FwLzFRee+fDsx6mxnGskvoxgcTE5dgNg/zIMT7rpf7TW9OntBSY 1wVeJvtUkFgDSwFHctkIun+Sl06Fs3KKI4wcn/UxIKIltJs7z/tRdVkg0wuVaQ46nvSz AsRg== 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 l125si7999630pgl.63.2019.07.12.02.34.59; Fri, 12 Jul 2019 02:35:15 -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 S1726196AbfGLJem (ORCPT + 99 others); Fri, 12 Jul 2019 05:34:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:33144 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725987AbfGLJel (ORCPT ); Fri, 12 Jul 2019 05:34:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 42A7CB008; Fri, 12 Jul 2019 09:34:39 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 9B4D21E43CA; Fri, 12 Jul 2019 11:34:38 +0200 (CEST) Date: Fri, 12 Jul 2019 11:34:38 +0200 From: Jan Kara To: Steve Magnani Cc: Jan Kara , "Steven J . Magnani" , Pali =?iso-8859-1?Q?Roh=E1r?= , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] udf: support 2048-byte spacing of VRS descriptors on 4K media Message-ID: <20190712093438.GD906@quack2.suse.cz> References: <20190711133852.16887-1-steve@digidescorp.com> <20190711133852.16887-2-steve@digidescorp.com> <20190711150436.GA2449@quack2.suse.cz> <6abea3a8-53da-f7ed-33f5-a9ecfd386c56@digidescorp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6abea3a8-53da-f7ed-33f5-a9ecfd386c56@digidescorp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 11-07-19 10:56:52, Steve Magnani wrote: > On 7/11/19 10:04 AM, Jan Kara wrote: > > Thanks for the patches! I've added them to my tree and somewhat simplified > > the logic since we don't really care about nsr 2 vs 3 or whether we > > actually saw BEA or not. Everything seems to work fine for me but I'd > > appreciate if you could doublecheck - the result is pushed out to > > > > git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_next > > > Tested-by: Steven J. Magnani > > The rework is more permissive than what you had suggested initially > (conditioning acceptance of a noncompliant NSR on a preceding BEA). > I had also tried to code the original so that a malformed 2048-byte > interval VRS would not be accepted. But the simplifications do make > the code easier to follow... Yeah, it's simpler to follow and we do this check just to see whether this may be a valid UDF media before doing more expensive probing. So I don't think that the code being more permissive matters. Thanks for testing! Honza -- Jan Kara SUSE Labs, CR