Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Hongbo Li <lihongbo22@huawei.com>
Cc: clm@fb.com, josef@toxicpanda.com, dsterba@suse.com,
	linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: support STATX_DIOALIGN for statx
Date: Mon, 24 Jun 2024 18:02:48 +0200	[thread overview]
Message-ID: <20240624160248.GO25756@twin.jikos.cz> (raw)
In-Reply-To: <20240620132000.888494-1-lihongbo22@huawei.com>

On Thu, Jun 20, 2024 at 09:20:00PM +0800, Hongbo Li wrote:
> Add support for STATX_DIOALIGN for btrfs, so that direct I/O alignment
> restrictions are exposed to userspace in a generic way.

I looked at 8434ef1d8aafc523 that does also has some code coments, the
generic changelog does not mention DIO vs other features like verity or
inline files.

The statx manual page describes the high level meaning of the
dio_*_align values, so this is filesystem and implementation dependent.
So please mention what values can be expected for various features.

We do buffered io fallback on compressed data, on inline files too (I
think), it may be possible on verity too.

  reply	other threads:[~2024-06-24 16:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20 13:20 [PATCH] btrfs: support STATX_DIOALIGN for statx Hongbo Li
2024-06-24 16:02 ` David Sterba [this message]
2024-07-25 13:45   ` Hongbo Li
2024-06-25 21:56 ` kernel test robot
2024-06-26  0:24 ` kernel test robot

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=20240624160248.GO25756@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=josef@toxicpanda.com \
    --cc=lihongbo22@huawei.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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