All of lore.kernel.org
 help / color / mirror / Atom feed
* questions about qemu io_uring/dio
@ 2020-10-28 11:25 Ian Kumlien
  2020-10-28 12:48 ` Ian Kumlien
  2020-10-29  4:34 ` Chris Murphy
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Kumlien @ 2020-10-28 11:25 UTC (permalink / raw)
  To: Btrfs BTRFS

Hi,

From what i understand, DIO is supposed to be supported...

But when i switched qemu to use io_uring it seems like the filesystems
on the VM:s get silently corrupted... (they also run btrfs, and it's
thus detected)

The system is mounted as nodatacow, I can't set +C with chattr so I
assume that the images are actually noncow

Any ideas?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: questions about qemu io_uring/dio
  2020-10-28 11:25 questions about qemu io_uring/dio Ian Kumlien
@ 2020-10-28 12:48 ` Ian Kumlien
  2020-10-29  4:34 ` Chris Murphy
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Kumlien @ 2020-10-28 12:48 UTC (permalink / raw)
  To: Btrfs BTRFS

Ok, so how about warning about incompatible mount options and not just
swallowing them saying nothing?

It's kinda assumed that it's working IF there is no error messages... ;)

nodatacow doesn't work on subvolumes, important information to know! =)

On Wed, Oct 28, 2020 at 12:25 PM Ian Kumlien <ian.kumlien@gmail.com> wrote:
>
> Hi,
>
> From what i understand, DIO is supposed to be supported...
>
> But when i switched qemu to use io_uring it seems like the filesystems
> on the VM:s get silently corrupted... (they also run btrfs, and it's
> thus detected)
>
> The system is mounted as nodatacow, I can't set +C with chattr so I
> assume that the images are actually noncow
>
> Any ideas?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: questions about qemu io_uring/dio
  2020-10-28 11:25 questions about qemu io_uring/dio Ian Kumlien
  2020-10-28 12:48 ` Ian Kumlien
@ 2020-10-29  4:34 ` Chris Murphy
  2020-10-29  8:11   ` Ian Kumlien
  1 sibling, 1 reply; 4+ messages in thread
From: Chris Murphy @ 2020-10-29  4:34 UTC (permalink / raw)
  To: Ian Kumlien; +Cc: Btrfs BTRFS

On Wed, Oct 28, 2020 at 4:17 PM Ian Kumlien <ian.kumlien@gmail.com> wrote:
>
> Hi,
>
> From what i understand, DIO is supposed to be supported...
>
> But when i switched qemu to use io_uring it seems like the filesystems
> on the VM:s get silently corrupted... (they also run btrfs, and it's
> thus detected)
>
> The system is mounted as nodatacow, I can't set +C with chattr so I
> assume that the images are actually noncow
>
> Any ideas?

Could be related.
https://bugzilla.kernel.org/show_bug.cgi?id=208875

I'm not sure if the fix made it into 5.9 but pretty sure it's in 5.10
but just haven't yet had a chance to test it.

-- 
Chris Murphy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: questions about qemu io_uring/dio
  2020-10-29  4:34 ` Chris Murphy
@ 2020-10-29  8:11   ` Ian Kumlien
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Kumlien @ 2020-10-29  8:11 UTC (permalink / raw)
  To: Chris Murphy; +Cc: Btrfs BTRFS

On Thu, Oct 29, 2020 at 5:34 AM Chris Murphy <lists@colorremedies.com> wrote:
>
> On Wed, Oct 28, 2020 at 4:17 PM Ian Kumlien <ian.kumlien@gmail.com> wrote:
> >
> > Hi,
> >
> > From what i understand, DIO is supposed to be supported...
> >
> > But when i switched qemu to use io_uring it seems like the filesystems
> > on the VM:s get silently corrupted... (they also run btrfs, and it's
> > thus detected)
> >
> > The system is mounted as nodatacow, I can't set +C with chattr so I
> > assume that the images are actually noncow
> >
> > Any ideas?
>
> Could be related.
> https://bugzilla.kernel.org/show_bug.cgi?id=208875
>
> I'm not sure if the fix made it into 5.9 but pretty sure it's in 5.10
> but just haven't yet had a chance to test it.

Yeah, i found that bit when googling actually, it will be in 5.10 apparently

But the subvolume mismatch vs root volume is another thing - you can't switch
compression or cow settings and imho, this should be in dmesg as a warning

Started to look at it but i don't really know enough =)

> --
> Chris Murphy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-29  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 11:25 questions about qemu io_uring/dio Ian Kumlien
2020-10-28 12:48 ` Ian Kumlien
2020-10-29  4:34 ` Chris Murphy
2020-10-29  8:11   ` Ian Kumlien

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.