You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I encountered a small problem while reproducing GearDB with zonefs. I created zonefs on an Ubuntu 20.04 system with kernel version 5.15 and mounted it to the /mnt/zonefs directory, which contains 4 conventional zones (cnv) and 12 sequential zones (seq).
Before compiling GearDB, I set the following:
In ssize_t HMManager::hm_write, the return value of pwrite is inconsistent with write_size. According to my understanding, pwrite calls the POSIX interface and ultimately calls zonefs_file_dio_append in zonefs for the write operation. However, in this function, the value of size = bio->bi_iter.bi_size is not equal to write_size. I don't understand why this is the case.
The text was updated successfully, but these errors were encountered:
Hello, I encountered a small problem while reproducing GearDB with zonefs. I created zonefs on an Ubuntu 20.04 system with kernel version 5.15 and mounted it to the /mnt/zonefs directory, which contains 4 conventional zones (cnv) and 12 sequential zones (seq).
Before compiling GearDB, I set the following:
After running ./out-static/db_bench, an error occurred:
After troubleshooting, I found the cause:
In
ssize_t HMManager::hm_write
, the return value ofpwrite
is inconsistent withwrite_size
. According to my understanding,pwrite
calls the POSIX interface and ultimately callszonefs_file_dio_append
in zonefs for the write operation. However, in this function, the value ofsize = bio->bi_iter.bi_size
is not equal towrite_size
. I don't understand why this is the case.The text was updated successfully, but these errors were encountered: