io_uring: ensure accurate real_file_size setup for full device access with PI enabled
authorsuho.son <suho.son@samsung.com>
Mon, 23 Jun 2025 02:18:12 +0000 (11:18 +0900)
committersuho.son <suho.son@samsung.com>
Mon, 23 Jun 2025 02:18:12 +0000 (11:18 +0900)
commitacd2dd42b5c25bee89915dfbe456883324dbc6b2
tree51a56a641127ae67269cbf3f1e2939d9b3374851
parent813445e7129240d51216e396a5ba8e19296b6581
io_uring: ensure accurate real_file_size setup for full device access with PI enabled

Fix real_file_size calculation when PI is enabled

When PI is enabled, the extended LBA (lba_ext) should be used to calculate
real_file_size instead of lba_size. This ensures FIO can access the entire
device area correctly.

Signed-off by: Suho Son <suho.son@samsung.com>
engines/io_uring.c