Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AFABCC6FD1D for ; Fri, 7 Apr 2023 19:46:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 16ECB86198; Fri, 7 Apr 2023 21:46:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Sjg9QAh1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DAD52861A8; Fri, 7 Apr 2023 21:46:14 +0200 (CEST) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D7BF78611D for ; Fri, 7 Apr 2023 21:46:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x830.google.com with SMTP id t19so41450466qta.12 for ; Fri, 07 Apr 2023 12:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1680896770; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=M1zxc8TWv7841Id+0qoOOaxAYsNm/pdYRofo89PR7xo=; b=Sjg9QAh1lNpTa6F+n+I+p2EVo4t/in6ReuJHCBCnAkNvXqZb6DhowLLlCGJG91afHn A/2+6Nh2kYA5QOHWyJwfs330X0Xbw/GR7ZPjHFCvByGWnFcEbmNs0bwPrNQ7XEiZh19W Wg5+4nw+fr6AAWrp5ZQqby3SWxMiRGPshXPpk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680896770; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=M1zxc8TWv7841Id+0qoOOaxAYsNm/pdYRofo89PR7xo=; b=MfsuMBrrwo0NEVYnmGbAAJNMuExwYvDyPiUyr6LoFg3kT44SiBHhAUbfYktbNeN+kT lrsWd3bvH5tr1r9yKaax3QUjHE/koil1SkZ4xX8BPvdXBo25jWczne2frDtqI96Wa7sY YSzib6D2K503iMAY+mLS4S9EMERwXmhct+CTGoEg/71yI0aEpPZE3mTlNqmZfErlGLxA mEGGpwDNkqQXGP1Vhu9PhxoIF2ALYqmB7RV64cxc3tDnmQQHlUKHFYIu7wCVIgqFaulN esY89KT7cEPLHnBbI8ME5FTKuzUbHKmoZgDDJWf4MZDo0uVjzujMq3qkZ8purs1H+Vny IPBQ== X-Gm-Message-State: AAQBX9ddQJ0z3iT8x1gQpvwR1ckIMfdO1CZCLOaE2fTGHPZfLNC2O9ej +b5mx2P2KEw7AWzFISTZ1tiFRw== X-Google-Smtp-Source: AKy350ZY0gGFFhxesr8DqNAHNU/MH/UDJ0dwaOvQueLOqh09YwQJr6JBsS9sC3CKR6x4fCawszoTvQ== X-Received: by 2002:a05:622a:94:b0:3bf:e43f:6992 with SMTP id o20-20020a05622a009400b003bfe43f6992mr5732726qtw.57.1680896770708; Fri, 07 Apr 2023 12:46:10 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-4d7a-a40c-ed12-3a35.res6.spectrum.com. [2603:6081:7b00:6400:4d7a:a40c:ed12:3a35]) by smtp.gmail.com with ESMTPSA id l4-20020a37f904000000b007422eee8058sm1502360qkj.125.2023.04.07.12.46.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:46:10 -0700 (PDT) Date: Fri, 7 Apr 2023 15:46:08 -0400 From: Tom Rini To: Simon Glass Cc: u-boot@lists.denx.de Subject: Re: [PATCH 1/1] pytest: Use --lazy with umount Message-ID: <20230407194608.GI1134230@bill-the-cat> References: <20230406021939.2526130-1-trini@konsulko.com> <20230407143641.GI1134230@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vpf26jnRsD4MtqZz" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --vpf26jnRsD4MtqZz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 08, 2023 at 06:55:14AM +1200, Simon Glass wrote: > Hi Tom, >=20 > On Sat, 8 Apr 2023 at 02:36, Tom Rini wrote: > > > > On Fri, Apr 07, 2023 at 05:31:17PM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 6 Apr 2023 at 14:19, Tom Rini wrote: > > > > > > > > Sometimes when doing tests on real hardware we sometimes run in to = the > > > > case where some of these mounts haven't been fully flushed. Using = the > > > > --lazy option with umount will allow us to continue while letting t= he OS > > > > handle flushing the data out still. > > > > > > > > Signed-off-by: Tom Rini > > > > --- > > > > test/py/tests/test_ut.py | 4 ++-- > > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > Reviewed-by: Simon Glass > > > > > > I wonder if these ever actually succeed later on, or do they remain > > > mounted forever? > > > > They complete the unmount with this change done, yes. >=20 > That's great to hear. I wonder if we should try a 'sync' beforehand? > So long as it is short it shouldn't matter, but if it dragged on for a > minute or two it might conflict with another job. I don't have a good > understanding of what is going on in the kernel. Based on a quick read of the man page, I think --lazy itself is just what we want here. --=20 Tom --vpf26jnRsD4MtqZz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQwcwAACgkQFHw5/5Y0 tyxlpAv8Ckqq6XgAqlgxkHFLyYcxI4oaQsdJUuGiVnJz04Lo8u9Ih3aYPPuXR3+d 7k1ijMILiWBQ8BHv5fVsjbIWnlnXGAmD95YTg4tAmpjd5JQXBNOxnQHvq6IJ29L6 DK+D6aK4o3Kt6sOdAXN6TY/VCJdrp+yz8arpB+t5ufSmtaEoYU6vGEDOMFQomFHp zkzncA9orhHgC1mnKjv6Xq6pFRBm7ByqSBnIrYKH8GClLE4nLGXa6LZYXHVZ6PcB X4r4Cmpez/30gjPbMzeMe/UMA+so1ecwnL6olYjXwNEMS7LMV3zd49rzqPTl2c0U Z9siVe0DDLLDtevLWiMI8tOZFoMQ4j3LtK7690O9dgfMxjuI7/SM0+Tc1SEkgHsU 9b96G8F57GzkIYfVu6OOdfjL4NvJ7RxtFbMEdUeBFhYwtHYsVKam0PRRFqNbPK1i 7St9WPs8JsZSfH5acLcCwogZiiVaPVewnjfh7BuRfMDpIrFVO9Dvo/F0g/JToYV9 hNHTijlm =GDGR -----END PGP SIGNATURE----- --vpf26jnRsD4MtqZz--