From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aKfUB8cATV+IeAAA0tVLHw (envelope-from ) for ; Mon, 31 Aug 2020 13:53:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WO3FA8cATV8URgAAB5/wlQ (envelope-from ) for ; Mon, 31 Aug 2020 13:53:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5C33C94093C for ; Mon, 31 Aug 2020 13:53:10 +0000 (UTC) Received: from localhost ([::1]:39376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCkFA-0006Uh-OE for larch@yhetil.org; Mon, 31 Aug 2020 09:53:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCkF4-0006St-4r for bug-guix@gnu.org; Mon, 31 Aug 2020 09:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kCkF3-0004B0-RP for bug-guix@gnu.org; Mon, 31 Aug 2020 09:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kCkF3-0007I9-P7 for bug-guix@gnu.org; Mon, 31 Aug 2020 09:53:01 -0400 Subject: bug#43062: --expose in vm does not reflect file modifications in guest Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 31 Aug 2020 13:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43062 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Mail-Followup-To: 43062@debbugs.gnu.org, ludo@gnu.org, elaexuotee@wilsonb.com Received: via spool by 43062-done@debbugs.gnu.org id=D43062.159888194327977 (code D ref 43062); Mon, 31 Aug 2020 13:53:01 +0000 Received: (at 43062-done) by debbugs.gnu.org; 31 Aug 2020 13:52:23 +0000 Received: from localhost ([127.0.0.1]:51847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCkEQ-0007HA-Kk for submit@debbugs.gnu.org; Mon, 31 Aug 2020 09:52:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCkEO-0007Gy-Bf for 43062-done@debbugs.gnu.org; Mon, 31 Aug 2020 09:52:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56408) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCkEI-00046R-Df; Mon, 31 Aug 2020 09:52:14 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36320 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kCkEH-0007FV-Q7; Mon, 31 Aug 2020 09:52:14 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <3150ZD6Q06IY5.2LQMQ0E8MMOHQ@wilsonb.com> <87wo1ioo6p.fsf@gnu.org> <878sdwvvpn.fsf@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Fructidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 31 Aug 2020 15:52:11 +0200 In-Reply-To: <878sdwvvpn.fsf@cbaines.net> (Christopher Baines's message of "Sun, 30 Aug 2020 19:23:48 +0100") Message-ID: <871rjmdit0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: elaexuotee@wilsonb.com, 43062-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 6ZaPIQ+E5QcR Hello! Christopher Baines skribis: > Ludovic Court=C3=A8s writes: > >> Hi, >> >> elaexuotee--- via Bug reports for GNU Guix skribis: >> >>> When using --expose to mirror a path between host and guest, the guest = mirror >>> fails to reflect file modifications from the host. However, file creati= on and >>> deletion are correctly propogated. >>> >>> To pick up file modifications in the guest, it is sufficient to remount >>> mirroring 9p filesystem. >>> >>> Is this behaviour expected? >> >> I believe this comes from the =E2=80=9Ccache=3Dloose=E2=80=9D 9p mount o= ption added in >> commit e0d96774dd48c29ccc4c90fea1f8f71850ab0879. >> >> Does the patch below help? >> >> Chris, what do you think? How would this affect the performance issues >> that led to e0d96774dd48c29ccc4c90fea1f8f71850ab0879? > > Caching only for readonly filesystems sounds fine, I think I was only > thinking about the store for e0d96774dd48c29ccc4c90fea1f8f71850ab0879. Alright, I went ahead and did that in 7eeb78157d3d0267ce4a4ea38ff56a2c4246c11b. Thanks! Ludo=E2=80=99.