Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1882668rdb; Sat, 20 Jan 2024 19:24:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhSqFA2Zs2qABBnFCiYxvDWUkKmFsf6v0II2NXfFVJ85OWxFpHpo4MNlp3nWPPASWkEC+J X-Received: by 2002:a05:6214:2527:b0:681:8648:1ee9 with SMTP id gg7-20020a056214252700b0068186481ee9mr3421669qvb.111.1705807467944; Sat, 20 Jan 2024 19:24:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705807467; cv=pass; d=google.com; s=arc-20160816; b=Mh2UaFaJWl+QH0voAimnhqIQsoRBNCme4PA4FvkNKK06RFzBnNLDBatD04TRYaoMBs H4mWojzp3QlR4UIZTjDWFGPS66CZnSsKwQ0Plly3fhbpncp5CpqP0OTQCby+dVtqQYHM x7ynHt/Huwj2AT6W5TR/UJTS1K+OqzGtVjPxAs8/HzpD67uYKZKaE6vPK/t5RSWKnSws fmgN2NBC2YTLWeWOUb4xt7e84dicNz4U6XaNMHjiOuNJyRB6B/EJBc2NJJ3Rtmn98U9d VwcJnezJJMu9MFX9HeWQ6xVedjmoQy6/MFai4P3l9vAaxv9wLEG3QAVPENb0eZegsliA Nkjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=jOpZnzgSpAJpw2OiDuuykdPLSgVkSPFMKVCSLSDMYA0=; fh=xsQuQODsLyJ6zpoE0n5YAx3fyyic2MfbW/hyshW6clk=; b=Nt1tgN7QckY+lEJmvi0jUV0h/5pWpUW5aRHoS89hQgdVh5M2bpXf9tw/raW+4UaFOV Zvq6YxaYG4fqS0h6lbJiJS83K6JWHMY9KVxxusJOb130VIxgR/UL/Sg+O2dLDJeuWu+N US04jzyZOkJW9mqMptKYk1OyIHZhb4t0W4S7HI9z/302omm96YJtKYrsWmChsc3lOlfu e2Bjbk0DMzLOxTJ73E6eYE7a0oqeeBzX7fVxb2w+4GIda6oblN8vix9dIxwH9EshtkoF XxlZaZd4sG16VAsD1OGFvM4rLXH/2NvESlrbJ90wM6PKOhT3rp/nmuQRXOd8tz4mV3lm tpbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=GHwiI4R9; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-31960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n19-20020a0cdc93000000b00683b603ea43si2809740qvk.378.2024.01.20.19.24.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 19:24:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=GHwiI4R9; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-31960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 828461C20FDE for ; Sun, 21 Jan 2024 03:24:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2161536137; Sun, 21 Jan 2024 03:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="GHwiI4R9" Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A1703526E for ; Sun, 21 Jan 2024 03:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705807456; cv=none; b=YjuIa1M8ta5mmzSq8ICLnhuH/pY/m9qoQEnwGHBjvLjzyuReN+PKGxadphO90mRH1QzLipdkftZb0D7XjC3MhT/zr8sJ+yYhdnZwtWs+oaIX40I6E9QYNS/Q60LO18boB/1mUVhoGVU4cBHIdCEq0CDrXaGHzRAfTJ6bcZEhN5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705807456; c=relaxed/simple; bh=wcmf/aOorBM5e7eQSiImvkWOPTSRCqUlnSV1FKys9QQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K+nVGh1QInGc1yvqEKnNOVojsI+CRt2w6LXBnwdl0uQ1ZRZtSUeKOIzq0McGj7/9ox/OxKDHmbH+h2DRnfXdu3kwpKdiv/kpkS+q3ik/7yYmRY/+IEvxTltQlx6EVK3pSxumkWD1rIs52XJT1Gz8L2CmZmMCI4wtJ2Pq7GU/qF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=GHwiI4R9; arc=none smtp.client-ip=95.215.58.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Sat, 20 Jan 2024 22:24:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1705807452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jOpZnzgSpAJpw2OiDuuykdPLSgVkSPFMKVCSLSDMYA0=; b=GHwiI4R9s3oMIchWXoZL1K2QaxLiHwJ45PB40kYV+CAscT3//oXAZ/GAF86O0AOVo0qKeM xmA9YmJ3WHV5pINHYzj0AYFy+uj/wbQtyDZ+4fqvcddZTl5wm21gEO3JVou06KGBwplPBM /Z0/M2yrFKefmw73jUgfCKHM74IvnAc= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Mark Brown Cc: James Bottomley , Theodore Ts'o , Greg KH , Neal Gompa , Kees Cook , Linus Torvalds , linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Nikolai Kondrashov , Philip Li , Luis Chamberlain Subject: Re: [GIT PULL] bcachefs updates for 6.8 Message-ID: References: <40bcbbe5-948e-4c92-8562-53e60fd9506d@sirena.org.uk> <2uh4sgj5mqqkuv7h7fjlpigwjurcxoo6mqxz7cjyzh4edvqdhv@h2y6ytnh37tj> <2024011532-mortician-region-8302@gregkh> <20240117055457.GL911245@mit.edu> <5b7154f86913a0957e0518b54365a1b0fce5fbea.camel@HansenPartnership.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT On Wed, Jan 17, 2024 at 06:19:43PM +0000, Mark Brown wrote: > On Wed, Jan 17, 2024 at 08:03:35AM -0500, James Bottomley wrote: > > > I also have to say, that for all the complaints there's just not any > > open source pull for test tools (there's no-one who's on a mission to > > make them better). Demanding that someone else do it is proof of this > > (if you cared enough you'd do it yourself). That's why all our testing > > infrastructure is just some random set of scripts that mostly does what > > I want, because it's the last thing I need to prove the thing I > > actually care about works. > > > Finally testing infrastructure is how OSDL (the precursor to the Linux > > foundation) got started and got its initial funding, so corporations > > have been putting money into it for decades with not much return (and > > pretty much nothing to show for a unified testing infrastructure ... > > ten points to the team who can actually name the test infrastructure > > OSDL produced) and have finally concluded it's not worth it, making it > > a 10x harder sell now. > > I think that's a *bit* pessimistic, at least for some areas of the > kernel - there is commercial stuff going on with kernel testing with > varying degrees of community engagement (eg, off the top of my head > Baylibre, Collabora and Linaro all have offerings of various kinds that > I'm aware of), and some of that does turn into investments in reusable > things rather than proprietary stuff. I know that I look at the > kernelci.org results for my trees, and that I've fixed issues I saw > purely in there. kselftest is noticably getting much better over time, > and LTP is quite active too. The stuff I'm aware of is more focused > around the embedded space than the enterprise/server space but it does > exist. That's not to say that this is all well resourced and there's no > problem (far from it), but it really doesn't feel like a complete dead > loss either. kselftest is pretty exciting to me; "collect all our integration tests into one place and start to standarize on running them" is good stuff. You seem to be pretty familiar with all the various testing efforts, I wonder if you could talk about what you see that's interesting and useful in the various projects? I think a lot of this stems from a lack of organization and a lack of communication; I see a lot of projects reinventing things in slightly different ways and failing to build off of each other. > Some of the issues come from the different questions that people are > trying to answer with testing, or the very different needs of the > tests that people want to run - for example one of the reasons > filesystems aren't particularly well covered for the embedded cases is > that if your local storage is SD or worse eMMC then heavy I/O suddenly > looks a lot more demanding and media durability a real consideration. Well, for filesystem testing we (mostly) don't want to be hammering on an actual block device if we can help it - there are occasionally bugs that will only manifest when you're testing on a device with realistic performance characteristics, and we definitely want to be doing some amount of performance testing on actual devices, but most of our testing is best done in a VM where the scratch devices live entirely in dram on the host. But that's a minor detail, IMO - that doesn't prevent us from having a common test runner for anything that doesn't need special hardware.