From: bugzilla-daemon@kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 218822] New: Delete the file from the upper layer directly, the file will become "Stale"
Date: Thu, 09 May 2024 06:14:56 +0000 [thread overview]
Message-ID: <bug-218822-13602@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=218822
Bug ID: 218822
Summary: Delete the file from the upper layer directly, the
file will become "Stale"
Product: File System
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: ext4
Assignee: fs_ext4@kernel-bugs.osdl.org
Reporter: Squall.Zhou@vecima.com
Regression: No
The FS mount as following:
/dev/sda7 on / type ext4 (rw,relatime)
/dev/sda5 on /persistent type ext4 (rw,relatime)
overlay on /etc type overlay
(rw,relatime,lowerdir=/sysroot/etc,upperdir=/sysroot/persistent/platform/B/etc/upper,workdir=/sysroot/persistent/platform/B/etc/work)
1. I touched a file named "A" on /etc
2. I remove the file "A" from "/persistent/platform/B/etc/upper"
3. The file "A" in /etc will become "Stale"
root@exs1610ada83b:~ [B]# touch /etc/A
root@exs1610ada83b:~ [B]# rm /persistent/platform/B/etc/upper/A
root@exs1610ada83b:~ [B]# rm /etc/A
rm: can't remove '/etc/A': Stale file handle
Linux version:
root@exs1610ada83b:~ [B]# uname -a
Linux exs1610ada83b 5.10.184-intel-pk-standard #1 SMP PREEMPT Sun Jun 25
06:48:28 UTC 2023 x86_64 GNU/Linux
Thought, the /etc/A will be removed also.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next reply other threads:[~2024-05-09 6:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 6:14 bugzilla-daemon [this message]
2024-05-09 9:05 ` [Bug 218822] Delete the file from the upper layer directly, the file will become "Stale" bugzilla-daemon
2024-05-09 18:57 ` bugzilla-daemon
2024-05-10 1:23 ` bugzilla-daemon
2024-05-10 3:04 ` bugzilla-daemon
2024-05-10 3:05 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-218822-13602@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.