windows: fix pread/pwrite
authorVincent Fu <vincent.fu@samsung.com>
Thu, 8 May 2025 17:02:57 +0000 (10:02 -0700)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 8 May 2025 18:03:21 +0000 (14:03 -0400)
commit3a2b42b355fa206c794b2e3640a128ff9b59f118
tree12c34b9e11d7f2a5968595ee153e7619431c0944
parent1276068fa9ecfede2fcfb2068f4670a553a6dfa4
windows: fix pread/pwrite

The pread and pwrite functions for Windows posix emulation never actually seek
to the requested offset. Fix this so that the psync ioengine works correctly on
Windows.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
os/windows/posix.c