[LTP] [PATCH] inotify: modernize with SAFE_ wrappers and fix minor style issues
Jinseok Kim
always.starving0@gmail.com
Wed Feb 11 11:12:50 CET 2026
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.
More information about the ltp
mailing list