From: Anuj Gupta <anuj20.g@samsung.com>
To: Nitesh Shetty <nj.shetty@samsung.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,
Andrew Morton <akpm@linux-foundation.org>,
axboe@kernel.dk, gost.dev@samsung.com, nitheshshetty@gmail.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iov_iter: Use iov_offset for length calculation in iov_iter_aligned_bvec
Date: Mon, 28 Apr 2025 11:57:07 +0530 [thread overview]
Message-ID: <20250428062707.GA26271@green245> (raw)
In-Reply-To: <20250426075310.6597-1-nj.shetty@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
On Sat, Apr 26, 2025 at 01:23:10PM +0530, Nitesh Shetty wrote:
> If iov_offset is non-zero, then we need to consider iov_offset in length
> calculation, otherwise we might pass smaller IOs such as 512 bytes, in
> below scenario[1].
> This issue is reproducible using lib-uring test/fixed-seg.c application
> with fixed buffer on a 512 LBA formatted device.
> Fixes â3639f96f24a121ec9f037981b81daf5a8d60a
>
This needs a proper fixes tag format
Fixes: <12 characters of the SHA-1 ID> ("commit description")
With that
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2025-04-28 9:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250426080212epcas5p2d0c592a4bd539eed242d5ac31d23b323@epcas5p2.samsung.com>
2025-04-26 7:53 ` [PATCH v2] iov_iter: Use iov_offset for length calculation in iov_iter_aligned_bvec Nitesh Shetty
2025-04-28 6:27 ` Anuj Gupta [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=20250428062707.GA26271@green245 \
--to=anuj20.g@samsung.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=gost.dev@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nitheshshetty@gmail.com \
--cc=nj.shetty@samsung.com \
--cc=viro@zeniv.linux.org.uk \
/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 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.