* VFS: Parallel unmounting of filesystems produces system call error
@ 2014-11-18 15:49 Philipp Hachtmann
0 siblings, 0 replies; only message in thread
From: Philipp Hachtmann @ 2014-11-18 15:49 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel, linux-kernel
Hi Al,
I just ran some tests involving many parallel mount and unmount
operations. I sometimes get EINVAL and the umount program says "not
mounted". Which is definitively wrong. It feels like a race condition
somewhere in the VFS code.
I use todays master branch (commit fc14f9c1272f62c3) on s390 with 1024
DASD devices.
In fs/namespace.c, sys_umount:
> retval = user_path_mountpoint_at(AT_FDCWD, name,
> lookup_flags, &path);
...
> retval = -EINVAL;
> if (path.dentry != path.mnt->mnt_root)
> goto dput_and_out;
This seems to be erroneously true from time to time.
The script does something equivalent to:
> for n in $DEVNODES; do
> umount $n &
> done
Do you have any idea what's wrong?
Kind regards
Philipp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-18 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 15:49 VFS: Parallel unmounting of filesystems produces system call error Philipp Hachtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).