mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hyunchul Lee <hyc.lee@gmail.com>
To: Hongling Zeng <zenghongling@kylinos.cn>
Cc: linkinjeon@kernel.org, liubaolin12138@163.com,
	ntfs@lists.linux.dev, linux-kernel@vger.kernel.org,
	Baolin Liu <liubaolin@kylinos.cn>
Subject: Re: [PATCH v5 1/6] ntfs: mark the record dirtied by a resident write in iomap_end
Date: Wed, 2 Dec 2026 09:09:59 +0900	[thread overview]
Message-ID: <aw9h10sSQyK73Gnq@hyunchul-PC02> (raw)
In-Reply-To: <20261201111321.747420-2-zenghongling@kylinos.cn>

> diff --git a/fs/ntfs/iomap.c b/fs/ntfs/iomap.c
> index ce916707f69b..920a1aa917fe 100644
> --- a/fs/ntfs/iomap.c
> +++ b/fs/ntfs/iomap.c
> @@ -691,7 +691,8 @@ static int ntfs_write_iomap_begin_resident(struct inode *inode, loff_t offset,
>  	iomap->inline_data = kattr;
>  	iomap->offset = 0;
>  	iomap->length = attr_len;
> -	iomap->private = mrec_ni;
> +	/* The record can be an extent record: let iomap_end mark it dirty. */
> +	iomap->private = ctx->ntfs_ino;

Could you trim down comments in this patch?

-- 
Thanks,
Hyunchul

  reply	other threads:[~2026-12-02  0:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 11:13 [PATCH v5 0/6] ntfs: synchronize the in-memory size handling Hongling Zeng
2026-12-01 11:13 ` [PATCH v5 1/6] ntfs: mark the record dirtied by a resident write in iomap_end Hongling Zeng
2026-12-02  0:09   ` Hyunchul Lee [this message]
2026-12-01 11:13 ` [PATCH v5 2/6] ntfs: roll back the size update when the attribute lookup fails Hongling Zeng
2026-12-02  0:10   ` Hyunchul Lee
2026-12-01 11:13 ` [PATCH v5 3/6] ntfs: read initialized_size under size_lock in the iomap paths Hongling Zeng
2026-12-01 11:13 ` [PATCH v5 4/6] ntfs: update the in-memory sizes under the size lock Hongling Zeng
2026-12-01 11:13 ` [PATCH v5 5/6] ntfs: serialize the mmap write fault initialized size update Hongling Zeng
2026-12-01 11:13 ` [PATCH v5 6/6] ntfs: read initialized_size under size_lock in the mmap prepare path Hongling Zeng

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=aw9h10sSQyK73Gnq@hyunchul-PC02 \
    --to=hyc.lee@gmail.com \
    --cc=linkinjeon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liubaolin12138@163.com \
    --cc=liubaolin@kylinos.cn \
    --cc=ntfs@lists.linux.dev \
    --cc=zenghongling@kylinos.cn \
    /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

all inboxes | Powered by JetHome®