linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: grygorii tertychnyi <gtertych@cisco.com>
To: jaegeuk@kernel.org, gwendal@chromium.org
Cc: xe-linux-external@cisco.com, axboe@kernel.dk,
	linux-block@vger.kernel.org,
	linux-f2fs-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: [PATCH] loop: drop caches if offset or block_size are changed
Date: Mon, 15 Apr 2019 14:13:21 -0700	[thread overview]
Message-ID: <20190415211321.58681-1-gtertych@cisco.com> (raw)
In-Reply-To: <CAPUE2uushZ3Zc6mt01q3OkSx63YmQLq7SKqAktdZVnrb9bVnHA@mail.gmail.com>

Jaegeuk,

We also observed an issue with this patch.

After heavely working with image.bin (haxdump with different offsets)
next mount call fails:

# mount -o ro,loop,offset=45967633 -t squashfs image.bin /tmp/gi45
mount: image.bin: failed to setup loop device: Resource temporarily unavailable

# dmesg | tail -n1
loop_set_status: loop2 () has still dirty pages (nrpages=1)


-- Grygorii

      reply	other threads:[~2019-04-15 21:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10  3:17 [PATCH] loop: drop caches if offset or block_size are changed Jaegeuk Kim
2019-01-10  3:51 ` Jens Axboe
2019-03-14  5:07   ` Gwendal Grignou
2019-04-15 21:13     ` grygorii tertychnyi [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=20190415211321.58681-1-gtertych@cisco.com \
    --to=gtertych@cisco.com \
    --cc=axboe@kernel.dk \
    --cc=gwendal@chromium.org \
    --cc=jaegeuk@kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xe-linux-external@cisco.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;
as well as URLs for NNTP newsgroup(s).