public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jinseok Kim <always.starving0@gmail.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] inotify: modernize with SAFE_ wrappers and fix minor style issues
Date: Wed, 11 Feb 2026 19:12:50 +0900	[thread overview]
Message-ID: <20260211101328.1180-1-always.starving0@gmail.com> (raw)
In-Reply-To: <DGC0LPS5JBO5.DEZE7CY4YTHU@suse.com>

Hi Andrea,

Thanks for the review!

I set len_strict=0 intentionally.

With len_strict=1, SAFE_READ would trigger TBROK on partial reads (e.g.
240 bytes when EVENT_BUF_LEN=32768), which are normal and expected for
an inotify fd.

len_strict=0 still catches real read errors (ret=-1), while allowing
partial reads so the test can continue processing the events.

Thanks,
Jinseok.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-02-11 10:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-07 17:06 [LTP] [PATCH] inotify: modernize with SAFE_ wrappers and fix minor style issues Jinseok Kim
2026-02-11  9:11 ` Andrea Cervesato via ltp
2026-02-11 10:12   ` Jinseok Kim [this message]
2026-02-11 10:25     ` Andrea Cervesato via ltp
2026-02-11 16:31 ` Cyril Hrubis
2026-02-20 12:09 ` Andrea Cervesato via ltp

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=20260211101328.1180-1-always.starving0@gmail.com \
    --to=always.starving0@gmail.com \
    --cc=ltp@lists.linux.it \
    /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