public inbox for [email protected]
 help / color / mirror / Atom feed
From: "Vitaliy Filippov" <[email protected]>
To: "[email protected]" <[email protected]>,
	"Jens Axboe" <[email protected]>,
	"Pavel Begunkov" <[email protected]>
Subject: Re: write / fsync ordering
Date: Tue, 28 Jan 2020 13:55:17 +0300	[thread overview]
Message-ID: <op.0e3nafvf0ncgu9@localhost> (raw)
In-Reply-To: <[email protected]>

Thanks, I'll try it :)

> Yes, it can reorder them. So, there are 2 ways:
> - wait for the completion
> - order the requests within io_uring
>
> I'd recommend the ordering option by using IOSQE_IO_LINK, which
> guarantees sequential execution of linked requests. There is also
> IOSQE_IO_DRAIN, but it's rather inefficient.

-- 
With best regards,
   Vitaliy Filippov

      reply	other threads:[~2020-01-28 10:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-28 10:31 write / fsync ordering Vitaliy Filippov
2020-01-28 10:46 ` Pavel Begunkov
2020-01-28 10:55   ` Vitaliy Filippov [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=op.0e3nafvf0ncgu9@localhost \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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