From 989d5e459c63215ca26c8bf2990db720cc99766c Mon Sep 17 00:00:00 2001 From: Zuul Date: Tue, 23 Aug 2022 23:21:14 +0000 Subject: [PATCH] Update git submodules * Update os-brick from branch 'master' to 4e56e046cb2ed0864acdebd507f29a794bf1e101 - Merge "NVMe-oF: read mdstat in Python" - NVMe-oF: read mdstat in Python The get_md_name uses the contents of mdstat using cat and piping it to grep and then to awk using a privileged shell, but there's no need to do that. Actually the mdstat file has 0444 access, so we can read it in Python directly instead of having to call the privsep daemon to create the subprocess with the shell. This patch changes the current implementation of the method to do the reading and searching in Python. Change-Id: Idbba6f9a6d928aa94d2920fc1bf8b6e2a0626a07 --- os-brick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-brick b/os-brick index 4acfd6bc7e..4e56e046cb 160000 --- a/os-brick +++ b/os-brick @@ -1 +1 @@ -Subproject commit 4acfd6bc7e7e816ce8e9d5ac59cfc0f6e5e816f4 +Subproject commit 4e56e046cb2ed0864acdebd507f29a794bf1e101