[GH-ISSUE #1587] Exclude s3fs mounts from updatedb #830

Open
opened 2026-03-04 01:49:09 +03:00 by kerem · 5 comments
Owner

Originally created by @gaul on GitHub (Feb 23, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1587

One of the most common issues is poor s3fs performance due to updatedb unintentionally indexing remote mount points:

https://github.com/s3fs-fuse/s3fs-fuse/issues?q=is%3Aissue+updatedb

GNU findutils excludes some file system types like NFS by default via PRUNEFS. I submitted a PR to add s3fs:

https://savannah.gnu.org/patch/?10032

However there are multiple popular updatedb implementations including mlocate (default in Fedora) and plocate. We should also patch these utilities.

Originally created by @gaul on GitHub (Feb 23, 2021). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1587 One of the most common issues is poor s3fs performance due to `updatedb` unintentionally indexing remote mount points: https://github.com/s3fs-fuse/s3fs-fuse/issues?q=is%3Aissue+updatedb GNU findutils excludes some file system types like NFS by default via `PRUNEFS`. I submitted a PR to add s3fs: https://savannah.gnu.org/patch/?10032 However there are multiple popular updatedb implementations including mlocate (default in Fedora) and [plocate](https://plocate.sesse.net/). We should also patch these utilities.
Author
Owner

@gaul commented on GitHub (Feb 23, 2021):

mlocate appears to lack an upstream project and various distributions have their own patched versions. ceph opened separate issues for Debian and Red Hat:

@juliogonzalez Do you have any insight into this issue? If we fixed these two would the patches flow into the other popular distributions?

<!-- gh-comment-id:783860248 --> @gaul commented on GitHub (Feb 23, 2021): mlocate appears to lack an upstream project and various distributions have their own patched versions. ceph opened separate issues for Debian and Red Hat: * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786433 * https://bugzilla.redhat.com/show_bug.cgi?id=1223582 @juliogonzalez Do you have any insight into this issue? If we fixed these two would the patches flow into the other popular distributions?
Author
Owner

@CarstenGrohmann commented on GitHub (Mar 5, 2021):

I have filed bug reports for the ArchLinux packages plocate and mlocate:

<!-- gh-comment-id:791268036 --> @CarstenGrohmann commented on GitHub (Mar 5, 2021): I have filed bug reports for the ArchLinux packages plocate and mlocate: - plocate: https://bugs.archlinux.org/task/69884 - mlocate: https://bugs.archlinux.org/task/69883
Author
Owner

@gaul commented on GitHub (Mar 5, 2021):

Fedora mlocate issue: https://bugzilla.redhat.com/show_bug.cgi?id=1935668

<!-- gh-comment-id:791341063 --> @gaul commented on GitHub (Mar 5, 2021): Fedora mlocate issue: https://bugzilla.redhat.com/show_bug.cgi?id=1935668
Author
Owner

@gaul commented on GitHub (Mar 5, 2021):

Debian merge request: https://salsa.debian.org/debian/mlocate/-/merge_requests/2

<!-- gh-comment-id:791425604 --> @gaul commented on GitHub (Mar 5, 2021): Debian merge request: https://salsa.debian.org/debian/mlocate/-/merge_requests/2
Author
Owner

@gaul commented on GitHub (Mar 5, 2021):

Ubuntu issue: https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1917912

<!-- gh-comment-id:791524807 --> @gaul commented on GitHub (Mar 5, 2021): Ubuntu issue: https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1917912
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#830
No description provided.