Re: Fwd: [leaf:bering-uclibc] New commit [606eab] by Andrew Denisenko

Erich Titl <[email protected]> Mon, 12 Apr 2021 21:22:47 +0200
Newsgroups gmane.linux.leaf.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============1820521775991900136==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="fRSHxNOb4sk8qdvayO2u4zeV5jC5P9mGO"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fRSHxNOb4sk8qdvayO2u4zeV5jC5P9mGO
From: Erich Titl <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Subject: Re: [leaf-devel] Fwd: [leaf:bering-uclibc] New commit [606eab] by
 Andrew Denisenko
References: <d3ed615ace96a4c66e4597c67c5c7029dff88058.bering-uclibc@leaf.p.sourceforge.net>
 <[email protected]>
 <[email protected]>
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Andrew

Am 12.04.2021 um 19:28 schrieb Andrew:
> hi.
>=20
> it isn't a good solution - it'll wait for 10 seconds each time when we =

> can't umount modules (but usually fs freeing takes much less time), so =

> it's good to probe if we can umount dir, and if we can - do umount.
>=20

You have not understood the code and your blocking code breaks the=20
behaviour that was intended.

If you want blocking behaviour then do it in accel-ppp and do not change =

the behaviour of other tools.

umount_modules || umount_delayed

does what you want, except it does not block.

Adding a wait parameter to umount_delayed is just a sign of not=20
understanding what this code does.

If you want to do it your way, and I would prefer you would not, there=20
are better ways than lobotomizing code

1) include it in accel-ppp

2) read the code and see what it does, e.g
umount_modules || umount_delayed

3) write your own mount_modules

cheers

ET

--fRSHxNOb4sk8qdvayO2u4zeV5jC5P9mGO
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEE8XDmYcnNZQgR6jLcCIn0YaS9udoFAmB0ngcFAwAAAAAACgkQCIn0YaS9udpI
IA/7By1nqf49CAn7t1I0Hf/EWXkk0KWyHWzPPHJfYNukJUt1P1vwdvUwSQmibwQbWThFZwiVTOZy
5iLyZ0EHjGyDUpYQ4Sv10/fTVqOERWBI8JKLXrqMaLbG+JdbGpFNq9Bqtpx1mmzxie8qromeEMsc
I4gDV5lXk4uaPMtTPTz8J0oNtyaVer1I3vIjbAq2Ln/uQF2w3iIVboAqozL7AJLcPym8pdjX9bnl
1rjmx1S4zrRJSppF3VyFunPtvcgYrcx5GjweBzHZINjzVWAwcKhhu5dkWhOGpNQ2VUamFxb/X3Ad
YTGMuGwSD0C6EYJsc4Im9VcbSFc5ewmlULxMJTNrDqtBl/wDOL9Bi7EnZvTZe+twL6z1irSoegX3
9jvdzOrp5a4AyGoSVJyqCra+1u5MwIWzs7AeCV/GSw69ogtksHTIJONRCh8cyeOhILy+A6NF7Hun
8NJUoX76eg7xq4fl2Q1FqKPRFao4udjb4outSc5b+I+FgbQYErpSn6evGasX/DW6+KKiwnd8hOvv
XDKvfNS8JRfYVqAxnu7fu056RaKY5Z+I59Suv3cfIlMqbnUVPztbrc67DI0wFAarV8aKiTT6KD9I
m44W6Ogd8cOQkEyQ/D2BSY3gXxr5OtshakR3PZ9vgV9z7vQwIbNtGqoPAwC7ux6vuwwnl8cu1DXV
TSI=
=E74U
-----END PGP SIGNATURE-----

--fRSHxNOb4sk8qdvayO2u4zeV5jC5P9mGO--


--===============1820521775991900136==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============1820521775991900136==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

--===============1820521775991900136==--