Re: Fwd: Re: A new look at old NFS readdir() problems?
От | David Steele |
---|---|
Тема | Re: Fwd: Re: A new look at old NFS readdir() problems? |
Дата | |
Msg-id | 606e3ceb-0535-40ca-9d31-ecb2c4a8b4b5@pgbackrest.org обсуждение исходный текст |
Ответ на | Re: Fwd: Re: A new look at old NFS readdir() problems? (Thomas Munro <thomas.munro@gmail.com>) |
Ответы |
Re: Fwd: Re: A new look at old NFS readdir() problems?
|
Список | pgsql-hackers |
On 1/4/25 11:07, Thomas Munro wrote: > On Sat, Jan 4, 2025 at 5:48 AM David Steele <david@pgbackrest.org> wrote: >> We had one issue reported [1] involving Alpine Linux and CIFS and > > Not directly relevant for pgbackrest probably, but I noticed that > Alpine comes up in a few reports of failing rm -r on CIFS. I think it > might be because BSD and GNU rm use fts to buffer pathnames in user > space (narrow window), while Alpine uses busybox rm which has a > classic readdir()/unlink() loop: Yeah, this doesn't affect pgBackRest because we have our own rmtree that uses snapshots (for the last few years, at least). > As for CIFS, there are lots of reports of this sort of thing from > Linux CIFS clients. There may be users running Postgres on CIFS but my guess is that is rare -- at least I have never seen anyone doing it. I'm more concerned about the report we saw on SUSE/NFS [1]. If that report is accurate it indicates this may not be something we can just document and move on from -- unless we are willing to entirely drop support for NFS. Regards, -David [1] https://github.com/pgbackrest/pgbackrest/issues/1423
В списке pgsql-hackers по дате отправления: