Damien Zammit, le dim. 08 nov. 2020 16:10:32 +1100, a ecrit: > I am using the libparted access method via > storeio `-T typed part:x` but using the same underlying device. > Do I need to make opening a new partition on the same disk device > open a new handle on the same disk?
Since your device_read() is doing rump_sys_lseek() rump_sys_read() then yes, you'd absolutely need different handles, otherwise concurrent requests will get mixtures of offsets. But you can as well replace these two calls with a single tall to rump_sys_pread() that avoids such issue (ditto for write). Samuel