Re: Cephfs + inotify

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

 



Den fre 8 okt. 2021 kl 17:21 skrev Sean <sean@xxxxxxxxx>:
>  I don’t think this is possible, since CephFS is a network mounted
> filesystem. The inotify feature requires the kernel to be aware of file
> system changes. If the kernel is unaware of changes in a tracked directory,
> which is the case for all network mounted filesystems, then it can’t inform
> any watching process.
>

AFS used some callback routine to send notifications (in that case
about "if you have a local cache of this part of the fs, please drop
it since you are out of date"), so it is possible even with network
filesystems, but I think it would be very expensive and possibly make
lots of things slower if many changes appear and many clients need
updates.


-- 
May the most significant bit of your life be positive.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux