RE: [EXTERNAL] Re: Git clone fails in p9 file system marked with FANOTIFY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok. I am also unable to repro the rename program with fanotify example (just FAN_CLOSE_WRITE) on a p9 mount point. Just wondering if you could try git clone operation and can share the results. This can isolate and define the issue precisely.

The previous rename trial which failed yesterday was tried on a system where fanotify was initialized by MDE software and the results shared were of the same. Apologies for the confusion.

Thank you,
Krishna Vivek

-----Original Message-----
From: Amir Goldstein <amir73il@xxxxxxxxx>
Sent: Wednesday, September 25, 2024 7:46 PM
To: Krishna Vivek Vitta <kvitta@xxxxxxxxxxxxx>
Cc: Jan Kara <jack@xxxxxxx>; linux-fsdevel@xxxxxxxxxxxxxxx; Eric Van Hensbergen <ericvh@xxxxxxxxxx>; Latchesar Ionkov <lucho@xxxxxxxxxx>; Dominique Martinet <asmadeus@xxxxxxxxxxxxx>; v9fs@xxxxxxxxxxxxxxx
Subject: Re: [EXTERNAL] Re: Git clone fails in p9 file system marked with FANOTIFY

On Wed, Sep 25, 2024 at 4:04 PM Krishna Vivek Vitta <kvitta@xxxxxxxxxxxxx> wrote:
>
> Hi Amir, Jan Kara
>
> Thanks for the responses so far. Appreciated.
>
> I have taken step back, started afresh and performed another trial using the fanotify example program in another WSL2 setup.
>
> 1.) Uninstalled MDE software in WSL where FANOTIFY was initialized and
> that marks the mount point using mask: FAN_CLOSE_WRITE only. Ensured
> no pieces of monitoring software is present
> 2.) Ran the fanotify example program(without any changes) on p9 mount point and performed git clone on another session. Git clone was successful. This program was using mask FAN_OPEN_PERM and FAN_CLOSE_WRITE.
> 3.) Modified the fanotify example program to mark the mount point using mask FAN_CLOSE_WRITE only. Ran the git clone. The operation fails.

I ran the rename_try reproducer only with FAN_CLOSE_WRITE events watched and could not reproduce.

>
> Is it something to do with mask ?
>
> I didn't get a chance to run on standard linux kernel. Can you share
> the commands to do so of mounting 9p on standard linux
>

You'd need some 9p server.
I am using the 9p mount in the kvm test box that you can download from:

https://github.com/tytso/xfstests-bld/blob/master/Documentation/kvm-quickstart.md

Thanks,
Amir.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux