On Tue, Jan 10, 2017 at 01:54:17PM +0100, Stanislav Brabec wrote: > Commit f9906424 introduced a check that should prevent different information in > mtab and /proc/mounts. The check can require significant amount of time, and for > systems without mtab support it has no sense. > > Execute this code only on systems with mtab. > > When a systems with large number of nodes (thousands) mount the filesystems > simultaneously, the time required for serialization causes the utimensat() to > take a large amount of time (tens of minutes) when a large number of nodes are > simultaneously updating the timestamp. > > Signed-off-by: Stanislav Brabec <sbrabec@xxxxxxx> > --- > libmount/src/context_mount.c | 2 ++ > 1 file changed, 2 insertions(+) Ah, nice catch! Applied, thanks. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html