All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/3] Fix releasing loop devices in shell API
Date: Mon, 3 Feb 2020 16:05:04 +0100	[thread overview]
Message-ID: <20200203150504.GA15129@dell5510> (raw)
In-Reply-To: <20200129144913.9889-2-mdoucha@suse.cz>

Hi Martin,

> tst_device helper program currently cannot release any loop devices because
> tst_release_device() checks whether any loop device was acquired by the same
> process. If not, it'll do nothing. And since loop devices for shell test
> scripts are always acquired by a different tst_device process, the check always
> fails.

> Call tst_detach_device() instead to bypass the check.

Indeed losetup --list shows increasing list of the devices.
Thanks for a fix, pushed.

Kind regards,
Petr

  reply	other threads:[~2020-02-03 15:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29 14:49 [LTP] [PATCH 0/3] LVM support scripts for OpenQA Martin Doucha
2020-01-29 14:49 ` [LTP] [PATCH 1/3] Fix releasing loop devices in shell API Martin Doucha
2020-02-03 15:05   ` Petr Vorel [this message]
2020-01-29 14:49 ` [LTP] [PATCH 2/3] Allow acquiring multiple loop devices Martin Doucha
2020-02-03 15:24   ` Petr Vorel
2020-02-07 16:45     ` Cyril Hrubis
2020-02-07 17:07       ` Petr Vorel
2020-02-07 17:11         ` Cyril Hrubis
2020-02-10 15:48           ` Petr Vorel
2020-02-07 16:49   ` Cyril Hrubis
2020-01-29 14:49 ` [LTP] [PATCH 3/3] Add LVM support scripts Martin Doucha
2020-01-30 12:36   ` [LTP] [PATCH v2 " Martin Doucha
2020-01-30 14:41     ` [LTP] [PATCH v3 " Martin Doucha
2020-01-30 15:30       ` Petr Vorel
2020-02-19  9:37       ` [LTP] [PATCH v4 3/4] " Martin Doucha
2020-02-19  9:37         ` [LTP] [PATCH v4 4/4] Skip Btrfs in LVM stress tests Martin Doucha

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=20200203150504.GA15129@dell5510 \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.