public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Subject: Re: [PATCH] rootfs: Use separate mounts lock file
Date: Wed, 18 Aug 2021 13:26:57 +0300	[thread overview]
Message-ID: <072b55fc-fef1-0491-404c-2b01499b45c1@ilbers.de> (raw)
In-Reply-To: <20210708152251.220337-1-amikan@ilbers.de>

08.07.2021 18:22, Anton Mikanovich wrote:
> MOUNTS_LOCKFILE value inside rootfs.bbclass is overwritten by later
> inherited buildchroot.bbclass. We need to use other value name.
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
>   

Applied to next with the following commit message:

> We couldn't identify any resource sharing in any combination of
> buildchroot and rootfses, so a separate lock has been recently
> introduced in e438c8f6 "rootfs: Unmount rootfs mounts if not needed".
>
> This didn't work correctly: MOUNTS_LOCKFILE value inside rootfs.bbclass
> is overwritten by buildchroot.bbclass inherited later.
>
> rootfs_do_mounts and buildchroot_do_mounts would only need to be
> serialized if mount(8) would have unlocked shared resources. At least a
> simple script running 100 mounts and umounts in parallel didn't reveal
> any issues.
>
> Use a different lock file.
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
>   

-- 
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov


      parent reply	other threads:[~2021-08-18 10:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 15:22 Anton Mikanovich
2021-07-08 17:37 ` Jan Kiszka
2021-07-09 12:43   ` Anton Mikanovich
2021-07-26 14:44   ` Anton Mikanovich
2021-07-26 15:46     ` Baurzhan Ismagulov
2021-07-26 16:01       ` Jan Kiszka
2021-08-18 10:26 ` Anton Mikanovich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=072b55fc-fef1-0491-404c-2b01499b45c1@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox