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]

 



Hi Amir

Thanks for the outputs. From your analysis, it is found that there are some dentry references that are causing issues in p9 to report ENOENT error.

Few questions:
1.) What is the kernel version of your setup ?
2.) Is there any command/tool to check the marked mount points ?

What would be the next steps for this investigation ?

Thank you,
Krishna Vivek

-----Original Message-----
From: Amir Goldstein <amir73il@xxxxxxxxx>
Sent: Wednesday, September 25, 2024 8:35 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:22 PM Krishna Vivek Vitta <kvitta@xxxxxxxxxxxxx> wrote:
>
> Thanks for the link.
>
> Also can you try the third step on your standard linux kernel by omitting FAN_OPEN_PERM in the mask and share the observations of git clone operation. Does it succeed ?
>

So it depends on the definition of success..

I do get this error with the fanotify_example watching 9p mount:

root@kvm-xfstests:~# /vtmp/fanotify_example /vtmp/ Press enter key to terminate.
Listening for events.
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/info/exclude
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/description
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/applypatch-msg.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-merge-commit.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-receive.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/update.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/post-update.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-push.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-commit.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/prepare-commit-msg.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/push-to-checkout.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-rebase.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-applypatch.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/fsmonitor-watchman.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/commit-msg.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/HEAD.lock
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
read: No such file or directory

But git clone does not complain at all:

root@kvm-xfstests:/vtmp# git clone https://github.com/filebench/filebench.git
Cloning into 'filebench'...
remote: Enumerating objects: 1157, done.
remote: Total 1157 (delta 0), reused 0 (delta 0), pack-reused 1157 (from 1) Receiving objects: 100% (1157/1157), 1.13 MiB | 1005.00 KiB/s, done.
Resolving deltas: 100% (812/812), done.
Updating files: 100% (136/136), done.

I did get the same error with FAN_OPEN_PERM:

root@kvm-xfstests:~# /vtmp/fanotify_example /vtmp/ Press enter key to terminate.
Listening for events.
FAN_OPEN_PERM: File /vtmp/filebench/.git/info/exclude
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/info/exclude
FAN_OPEN_PERM: File /vtmp/filebench/.git/description
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/description
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/applypatch-msg.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/applypatch-msg.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/pre-merge-commit.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-merge-commit.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/pre-receive.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-receive.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/update.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/update.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/post-update.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/post-update.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/pre-push.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-push.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/pre-commit.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-commit.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/prepare-commit-msg.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/prepare-commit-msg.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/push-to-checkout.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/push-to-checkout.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/pre-rebase.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-rebase.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/pre-applypatch.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/pre-applypatch.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/fsmonitor-watchman.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/fsmonitor-watchman.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/hooks/commit-msg.sample
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/hooks/commit-msg.sample
FAN_OPEN_PERM: File /vtmp/filebench/.git/HEAD.lock
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/HEAD.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/config.lock
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/config.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/config
FAN_OPEN_PERM: File /vtmp/filebench/.git/config
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/config.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/config
FAN_OPEN_PERM: File /vtmp/filebench/.git/config
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/config.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/config
FAN_OPEN_PERM: File /vtmp/filebench/.git/config
FAN_CLOSE_WRITE: File /vtmp/filebench/.git/config.lock
FAN_OPEN_PERM: File /vtmp/filebench/.git/tSXZBNw
read: No such file or directory

I do not get fanotify error when watching and git clone on xfs mount.

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