mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-08 15:45:53 +00:00
UsrbIo.cc: Fix the mismatch between prio and submit-ios*
In the semName function, the correspondence between prio and submit-ios* is as follows: 0 ¡úmit-ios.ph 1 → submit-ios others → submit-ios.pl The cqeSem function should be consistent with the semName function. Signed-off-by: izxl007 <zeng.zheng@zte.com.cn>
This commit is contained in:
parent
0033c5b0bb
commit
6408eecd1b
@ -330,8 +330,8 @@ struct Hf3fsIorHandle {
|
||||
static int cqeSem(sem_t *&sem, const char *hf3fs_mount_point, int prio) {
|
||||
auto link = fmt::format("{}/3fs-virt/iovs/submit-ios{}",
|
||||
std::string(hf3fs_mount_point),
|
||||
prio == 0 ? ""
|
||||
: prio < 0 ? ".ph"
|
||||
prio == 1 ? ""
|
||||
: prio == 0 ? ".ph"
|
||||
: ".pl");
|
||||
std::vector<char> target(256);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user