From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7010687509260664832 X-Received: by 2002:a19:7601:: with SMTP id c1mr26339868lff.448.1632302885905; Wed, 22 Sep 2021 02:28:05 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:3e17:: with SMTP id l23ls344223lja.3.gmail; Wed, 22 Sep 2021 02:28:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytRcdjJtySLrW9xX4nfOf2p8tFH2Tc0rVqxiGkRur1BpuROYrsQBjafG866n5fFj6iajQI X-Received: by 2002:a2e:6e06:: with SMTP id j6mr33152125ljc.382.1632302884811; Wed, 22 Sep 2021 02:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632302884; cv=none; d=google.com; s=arc-20160816; b=kJNREPFpSvt5dkLZyHp/nDlYhricgpW3LZsbDLg+QvAQ/9yEjoOEzuKku+jpNQ6D3m oGMVL7PcQoT6oEO35pmSVLUOrN5tuJeF59iNAD34PdIa9g5K04SN7XgcdZdi3r7iw/C4 Njl2cpIMf4/cna0HaQtdODZvGZWF2zy0yIlmf8YV6jusfKj1V3sXog+wtU9lgLvcFDYk TVTuTNZk+kZ4aVlScf7NetEa7jrgagVnZDSPKPDotUVZHM0ROAV7MUH4W9/GjpB9dud7 M42JMAiDcIb0UTFK2lUbkwa1KI0eOh5jofhqU67CS4Tf4Arnjp4CFwk55IeNc0jPc/5x cGMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=IoyySbGxLzSItMrga6LrkHZlbhULEPcIV3QuP7rWUhk=; b=qn28qaW+ShVEp6Jm1P/O1kkgoUoEfU2MInzBULR9SLkPXEiT3MtdzqlgQbyLW+2tta 59fuPBn+Myb0TYbvfL7erHENtG4c2UYiotcfF5A9PIFLBSXTK1n5z+NzQZXc4Ulrv2lV OHgOYVraTCtdNDQAH7qSq6Aluj0OfJSW3FosdO8yGpCx/v6uWYP839os7M60T7VYK7dD boG8d5HGr9hFs/8S9p9TFlMCcbFRMHAD7BfboBCxc4+cBgfVsqwx+Zyhm043O2VM0DXi XWg0o/t3U3G/WfQ1QKNb5drIuOJggltcdv4OPTK7DxhJxMZOi3SBhpW6BGCIfHomqCHx 4Rtg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id v25si121850lfr.1.2021.09.22.02.28.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Sep 2021 02:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 18M9S4Ma032313 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 22 Sep 2021 11:28:04 +0200 Received: from MD1T0KAC-VM.ad001.siemens.net (md1t0kac.ad001.siemens.net [139.25.68.224]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 18M9S3kA028537; Wed, 22 Sep 2021 11:28:03 +0200 From: Felix Moessbauer To: isar-users@googlegroups.com Cc: henning.schild@siemens.com, jan.kiszka@siemens.com, Felix Moessbauer Subject: [PATCH 0/4] Fix sporadic failures in do_wic_image Date: Wed, 22 Sep 2021 11:27:50 +0200 Message-Id: <20210922092754.3649703-1-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: LJhbK3xXfYTh This patch series fixes mounting and task odering issues around do_wic_image. These have previously been reported by H. Schild in "[PATCH v14 0/2] CPIO & OVA Images". While patch 1,2 and 3 fix the issue, patch 4 splits the do_rootfs task to avoid open mountpoints after the wic task. Probably we do not want to integrate patch 4 until decisions on the mounting in general are made. Best regards, Felix Felix Moessbauer (4): fix typo in do_rootfs_finalize execute do_wic_image under a lock to ensure mountpoints remain mounted fix race by serialize rootfs_finalize and do_wic_image split rootfs finalization and unmounting into two tasks meta/classes/image.bbclass | 49 +++++++++++++++++++++++++----------- meta/classes/wic-img.bbclass | 36 +++++++++++++++----------- 2 files changed, 56 insertions(+), 29 deletions(-) -- 2.30.2