Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1327426ybn; Wed, 25 Sep 2019 16:26:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1fJHLzOyUttCfrPUguMMiIGRA1WYw88b0lBj9HOej8CLzcvrPvXAPIITtmJ3qj3/IKHl4 X-Received: by 2002:a50:c351:: with SMTP id q17mr542094edb.123.1569453999784; Wed, 25 Sep 2019 16:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569453999; cv=none; d=google.com; s=arc-20160816; b=ZFToljevGYYAAeZ7fwQ+MSQ9//vOpgGxivZzz0mdXipo+BdmF64A9y3yvJxv79xcDu US/rP6zllP/IoELZ3EQh48qWv+CtkUXX182AGbjSCBfi2psS/iYFhfVjrlVjSs2ok9rE 0U6n5YSSwzOIUz3Gwaoc/lcjelaPvpRvopeOtgZPVZT78GZLMxFIdWmmwcNvO+bWnXI3 9X7BRkWoBjUQ3398zj3jr+GAqyGqLzEsb1oxUN/gPedW0jtYXgSFm/DCJjuDS5SognFw kehnujp4AIkQDOBZFw0EnK6zhSYha/I1nvy1NtP55d3loZ598hfFYlEx3zRNnCOSC5iS UCsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:from:user-agent:content-disposition :mime-version:message-id:subject:cc:to:date; bh=2LTH5ZOoMeejT+m+F/M1MvK+0IfvQcAxtOqNXFqypcY=; b=GckmdjyPMfOkjSub44zYTM8GRpFi8+wtakp6cG3cS8Oz1R7NLphA3Y1MRP4XSBPUgw kRtEoYSj8v/NXjsLlLDYJS3JMu68m4q+SLy8o1FYUtcTZqHZLghIZC0DtFANaMdHm7Pp rUJqPVX1HfyKnJosTnnDWlsbEihUoUWAvrzcG6E6parT+MLq6LSYVH1Q8Lp36T1/wNW0 aPsWioizBX1TcW6J+g7G4+LSu/GNiX7OdcwPpQtN59dec8FGiA8mBt/LzCNwMKPj1ory ZOWxtZvM0vyxYM4n1ZNF5whA92Fq68dvbRKkZMCZlLHNuE72X5SC2FhV2mANgRJOgglj VnvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-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 s1si170604ejf.305.2019.09.25.16.26.01; Wed, 25 Sep 2019 16:26:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387525AbfIWUAg (ORCPT + 99 others); Mon, 23 Sep 2019 16:00:36 -0400 Received: from fieldses.org ([173.255.197.46]:57986 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726777AbfIWUAg (ORCPT ); Mon, 23 Sep 2019 16:00:36 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 463A2150D; Mon, 23 Sep 2019 16:00:36 -0400 (EDT) Date: Mon, 23 Sep 2019 16:00:36 -0400 To: fstests@vger.kernel.org Cc: linux-nfs@vger.kernel.org Subject: generic/495: swap on sparse file over NFS Message-ID: <20190923200036.GA5085@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org I'm updating to a newer xfstests and seeing: generic/495 - output mismatch (see /root/xfstests-dev/results//generic/495.out.bad) --- tests/generic/495.out 2019-09-18 17:28:00.834721480 -0400 +++ /root/xfstests-dev/results//generic/495.out.bad 2019-09-20 13:34:01.1568 89741 -0400 @@ -1,5 +1,4 @@ QA output created by 495 File with holes -swapon: Invalid argument Empty swap file (only swap header) swapon: Invalid argument If I understand correctly, it's requiring swapon to fail on a sparse file, which isn't going to happen on NFS, where the sparsenes of the file isn't really the client's concern. Is it really correct to *require* swapon to fail in this case? --b.