[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] df: avoid stat() for dummy file systems with -l
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] df: avoid stat() for dummy file systems with -l |
Date: |
Mon, 28 Aug 2017 22:42:16 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 31/07/17 16:54, Bernhard Voelker wrote:
> The attached fixes a hang for unaccessible NFS mounts which
> are automounted by systemd.
>
> See e.g.
> http://blog.tomecek.net/post/automount-with-systemd/
> for how to configure such a systemd unit to reproduce.
+ df no longer interacts with dummy file system types, so for example
+ no longer hangs with problematic nfs mounted via system.automount(5).
+ [bug introduced in coreutils-8.21]
Well df by default should not be displaying dummy file systems,
so the stat() avoidance here is a net win I think.
I'll apply this and we can improve the other issues mentioned
in the thread later.
cheers,
Pádraig
- Re: [PATCH] df: avoid stat() for dummy file systems with -l,
Pádraig Brady <=