public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Shawn <neutronsharc@gmail.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: Do I have to fsync after aio_write finishes (with fallocate preallocation) ?
Date: Fri, 1 Sep 2023 13:47:12 +1000	[thread overview]
Message-ID: <ZPFewPuuv78ZUaxo@dread.disaster.area> (raw)
In-Reply-To: <CAB-bdyQG0gDBJDt5cHHsi7avUazDtL5RO8G6UwQZj5Rw7k-CXQ@mail.gmail.com>

On Thu, Aug 31, 2023 at 06:06:23PM -0700, Shawn wrote:
> Hi Dave,
> If ext size hint is not set at all,  what's the default extent size
> alignment if the FS doesn't do striping (which is my case)?

No alignment. XFS will allocate exact sized extents for the
writes being issued...

-Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2023-09-01  3:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29 19:20 Do I have to fsync after aio_write finishes (with fallocate preallocation) ? Shawn
2022-11-29 21:17 ` Darrick J. Wong
2022-11-29 21:34 ` Dave Chinner
2023-08-21 19:01   ` Shawn
2023-08-26  3:48     ` Dave Chinner
2023-08-27  1:09       ` Shawn
2023-08-28  1:01         ` Dave Chinner
2023-09-01  1:06           ` Shawn
2023-09-01  3:47             ` Dave Chinner [this message]
2023-09-01 23:50               ` Shawn

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=ZPFewPuuv78ZUaxo@dread.disaster.area \
    --to=david@fromorbit.com \
    --cc=linux-xfs@vger.kernel.org \
    --cc=neutronsharc@gmail.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