[LTP] [PATCH] syscalls/umount2_{02, 03}: Retry umount2() on EBUSY

Cyril Hrubis chrubis@suse.cz
Mon May 2 11:31:04 CEST 2016


Hi!
> > This should be last fix for umount2() testcases failing with unexpected
> > EBUSY.
> > 
> > This patch adds umount2.h header that defined inline umount2_retry()
> > function that retries umount2() only in case of EBUSY.
> > 
> > The umount2_01 does not need to be fixed since it uses MNT_DETACH that
> > does lazy umount and hence it does not race with background probing.
> > 
> > Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> 
> Is the culprit here also some background daemons? If so, ACK.

Yes, still the same offender gnome gvfs-trash. I will updated the patch
changelog to make this clear.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list