Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689358

RE: [PATCH 1/2] Tools: hv: vss: Skip freezing filesystems backed by loop

From "Alex Ng (LIS)" <alexng@microsoft.com>
Newsgroups linux.kernel
Subject RE: [PATCH 1/2] Tools: hv: vss: Skip freezing filesystems backed by loop
Date 2017-07-17 21:00 +0200
Message-ID <u4jpp-hn-45@gated-at.bofh.it> (permalink)
References <tWlHH-Kx-5@gated-at.bofh.it> <tWlHH-Kx-3@gated-at.bofh.it> <u4dWG-5qj-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


My apologies. The changelog comment should be more descriptive.

Since a loop device is backed by a file, a backup will already result in
its parent filesystem being frozen. It's sufficient to just freeze the
parent filesystem, so we can skip the loop device.

This avoids a situation where a loop device and its parent filesystem are
both frozen and then thawed out of order. For example, if the loop device
is enumerated first, we would thaw it while its parent filesystem is still
frozen. The thaw operation fails and the loop device remains frozen.

I'll work with KY to send an updated patch with a better comment.

> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Monday, July 17, 2017 6:00 AM
> To: KY Srinivasan <kys@microsoft.com>
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org;
> olaf@aepfle.de; apw@canonical.com; vkuznets@redhat.com;
> jasowang@redhat.com; leann.ogasawara@canonical.com;
> marcelo.cerri@canonical.com; Stephen Hemminger
> <sthemmin@microsoft.com>; Alex Ng (LIS) <alexng@microsoft.com>;
> Vyronas Tsingaras <vyronas@vtsingaras.me>
> Subject: Re: [PATCH 1/2] Tools: hv: vss: Skip freezing filesystems backed by
> loop
> 
> On Sun, Jun 25, 2017 at 12:47:45PM -0700, kys@exchange.microsoft.com
> wrote:
> > From: Alex Ng <alexng@messages.microsoft.com>
> >
> > Skip loop devices from the freeze/thaw operation.
> 
> Ok, but why?  What is the consequences of this?  Please provide a much
> better changelog comment, especially for something that is supposed to
> be a "fix".
> 
> thanks,
> 
> greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] Tools: hv: vss: Skip freezing filesystems backed by  loop Greg KH <gregkh@linuxfoundation.org> - 2017-07-17 15:10 +0200
  RE: [PATCH 1/2] Tools: hv: vss: Skip freezing filesystems backed by  loop "Alex Ng (LIS)" <alexng@microsoft.com> - 2017-07-17 21:00 +0200

csiph-web