From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21589C28CC3 for ; Fri, 7 Jun 2019 05:44:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E4014208CA for ; Fri, 7 Jun 2019 05:44:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ne1l66gy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726808AbfFGFoN (ORCPT ); Fri, 7 Jun 2019 01:44:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49162 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbfFGFoN (ORCPT ); Fri, 7 Jun 2019 01:44:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FhEEcMcR2jAVllW++W9tBLdo7QnhO0RygKH5md+XfdI=; b=ne1l66gyBbTMvX7V2LMgMXi7E qdX7P6G+1EM1tNbhEzjkV7lu7JdUTjUO2SjTH/44d0H+PvtpECsg/2efyp5LzujXn3B/gUq16JCZ1 9Qt3AA7trjemJlwkkTPJRNbkq4yNvNta6wDRT4KFZn/96NNiPg/TbGvZ3PzMMMxnmAnQxAHVf2AtD eEvHu8sMci62CdhW2YJg3GRJiXahd4Tg2Ha+ta3dg4ZVtEk19bKBv0wSakXYgdii5rg89X+tpMD89 giXyiDv9oJlhisYA6VaASifuRYddqm5rKM2k66H/mMDtWJMHp7E2wtXru2E6rLKTwa1hhssr3vhLo Zk3o8ChMQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hZ7fg-0003xw-PF; Fri, 07 Jun 2019 05:44:12 +0000 Date: Thu, 6 Jun 2019 22:44:12 -0700 From: Christoph Hellwig To: Qu Wenruo Cc: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [PATCH v2] fstests: generic/260: Make it handle btrfs more gracefully Message-ID: <20190607054412.GA15161@infradead.org> References: <20190603064009.9891-1-wqu@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190603064009.9891-1-wqu@suse.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Mon, Jun 03, 2019 at 02:40:09PM +0800, Qu Wenruo wrote: > If a filesystem doesn't map its logical address space (normally the > bytenr/blocknr returned by fiemap) directly to its devices(s), the > following assumptions used in the test case is no longer true: > - trim range start beyond the end of fs should fail > - trim range start beyond the end of fs with len set should fail All these assumptions seem generally bogus. I don't think we can just run this as a generic test.