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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 97276C11F6A for ; Wed, 30 Jun 2021 11:29:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 760DF613F1 for ; Wed, 30 Jun 2021 11:29:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234368AbhF3LcS (ORCPT ); Wed, 30 Jun 2021 07:32:18 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:36986 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234148AbhF3LcQ (ORCPT ); Wed, 30 Jun 2021 07:32:16 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 194891FE76; Wed, 30 Jun 2021 11:29:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1625052587; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xPlVznWY17sCdzDew0ArEqg6XigOQOCtFmbDtY+DTDg=; b=ahMFe4kxqAr6ueSduanu8ivNo0m8vDKaSEkb4pG/Qi/05WQRTOrGkzh1J40pYoAJ3KBikV M5JYxKcMeW0svIA/2h2D7Veog/xZ+B8jDsWLdxSJDpkdqWV9IphicqsKgIpyp5JJEPF1Oh R9PvwOBQhAK+NvxsEWVRcSz7joKLYXU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1625052587; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xPlVznWY17sCdzDew0ArEqg6XigOQOCtFmbDtY+DTDg=; b=ISanfFyNsTDcmf/hJGeEewWmmA9CgWCXw2JvPbz70fjhijtToL0lFRU1PwRQLCUjZpzy/+ +yWiGRLd8SPAPQBQ== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id BC248118DD; Wed, 30 Jun 2021 11:29:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1625052587; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xPlVznWY17sCdzDew0ArEqg6XigOQOCtFmbDtY+DTDg=; b=ahMFe4kxqAr6ueSduanu8ivNo0m8vDKaSEkb4pG/Qi/05WQRTOrGkzh1J40pYoAJ3KBikV M5JYxKcMeW0svIA/2h2D7Veog/xZ+B8jDsWLdxSJDpkdqWV9IphicqsKgIpyp5JJEPF1Oh R9PvwOBQhAK+NvxsEWVRcSz7joKLYXU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1625052587; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xPlVznWY17sCdzDew0ArEqg6XigOQOCtFmbDtY+DTDg=; b=ISanfFyNsTDcmf/hJGeEewWmmA9CgWCXw2JvPbz70fjhijtToL0lFRU1PwRQLCUjZpzy/+ +yWiGRLd8SPAPQBQ== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id ImMGLKpV3GD+LgAALh3uQQ (envelope-from ); Wed, 30 Jun 2021 11:29:46 +0000 Date: Wed, 30 Jun 2021 13:29:45 +0200 From: Petr Vorel To: Josef Bacik , Linux Kernel Mailing List , Qu Wenruo , Chris Mason , "kernel-team@lists.ubuntu.com" , "ltp@lists.linux.it" , David Sterba , Filipe Manana , linux-btrfs@vger.kernel.org Subject: Re: [LTP] [BUG] btrfs potential failure on 32 core LTP test (fallocate05) Message-ID: Reply-To: Petr Vorel References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, ... > > >> Reproduction steps: > > >> git clone https://github.com/linux-test-project/ltp.git > > >> cd ltp > > >> ./build.sh && make install -j8 > > >> cd ../ltp-install > > >> sudo ./runltp -f syscalls -s fallocate05 NOTE: you can also be a bit faster if you test just single test, see https://github.com/linux-test-project/ltp#shortcut-to-running-a-single-test (not compiling and installing whole LTP) $ cd testcases/kernel/syscalls/fallocate/ $ make -j`nproc` $ sudo ./fallocate05 > > > This thing keeps trying to test ext2, how do I make it only test btrfs? Thanks, > > It tests all available file systems, just wait till it gets to btrfs. I > > don't know how to limit it only to one file system. > In the future we can add environment variable to specify the only fs to be > tested. There is LTP_DEV_FS_TYPE, but that does not work when .all_filesystems > flag is enabled. Thus just patch the file: NOTE: It detect kernel filesystem support and presence of mkfs.xxx. Thus other way to limit filesystem is to rename mkfs.xxx of other filesystems (in case you test LTP from package and don't want / cannot compile and can modify root filesystem). Kind regards, Petr