diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-08-22 17:16:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-23 07:45:32 +0100 |
commit | 927fad7881841a58e1d88f3a6ce070eaa66ba1a5 (patch) | |
tree | 4d80426cba1479ead2fba5cd31bf7f938d69f6dc /scripts/lib/scriptutils.py | |
parent | 7f9d2d16b8cdff9cbba2b3965c74d1c5b8ab1106 (diff) | |
download | openembedded-core-927fad7881841a58e1d88f3a6ce070eaa66ba1a5.tar.gz openembedded-core-927fad7881841a58e1d88f3a6ce070eaa66ba1a5.tar.bz2 openembedded-core-927fad7881841a58e1d88f3a6ce070eaa66ba1a5.zip |
mtools: fix race issue while mtools invoked frequently
While invoking mtools frequently, the unblocking request
caused race issue. Here is an example of syslinux
[snip]
dd if=/dev/zero of=floppy.img bs=1024 count=144
losetup /dev/loop1 floppy.img
mkdosfs /dev/loop1
syslinux -i /dev/loop1
|plain floppy: device "/proc/6351/fd/3" busy (Resource temporarily unavailable):
|Cannot initialize 'S:'
|Bad target s:/ldlinux.sys
[snip]
The idea is from:
https://bugzilla.redhat.com/show_bug.cgi?id=1235016
https://groups.google.com/a/chromium.org/forum/#!msg/chromium-os-dev/bRPUCFHoBTQ/ZjB8kjjx1vUJ
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions