All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 218822] Delete the file from the upper layer directly, the file will become "Stale"
Date: Thu, 09 May 2024 09:05:12 +0000	[thread overview]
Message-ID: <bug-218822-13602-Np5VUZxfFU@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-218822-13602@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=218822

--- Comment #1 from Squall.Zhou@vecima.com ---
1. The issue has also been reproduced on:
29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  4 14:39:20 UTC 2 x86_64 x86_64
x86_64 GNU/Linux 

~:mount -t overlay -o  lowerdir=etc,upperdir=upper,workdir=work overlay etc 
~:~/overlaytest$ touch etc/a 
rm upper/a 
rm etc/a 
rm: cannot remove 'etc/a': Stale file handle 

2. But not reproduced on WSL(Ubuntu 20.04.6)
Squall.Zhou[~/over1]:mkdir etc
mkdir upper
mkdir work
sudo mount -t overlay -o  lowerdir=etc,upperdir=upper,workdir=work overlay etc
sudo touch etc/a
sudo rm upper/a
sudo rm etc/a
rm: cannot remove 'etc/a': No such file or directory
Squall.Zhou[~/over]:uname -a
Linux PC3203 4.4.0-22621-Microsoft #2506-Microsoft Fri Jan 01 08:00:00 PST 2016
x86_64 x86_64 x86_64 GNU/Linux

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  reply	other threads:[~2024-05-09  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09  6:14 [Bug 218822] New: Delete the file from the upper layer directly, the file will become "Stale" bugzilla-daemon
2024-05-09  9:05 ` bugzilla-daemon [this message]
2024-05-09 18:57 ` [Bug 218822] " 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-Np5VUZxfFU@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.