开发者

read() system call

开发者 https://www.devze.com 2023-03-24 07:05 出处:网络
While using fuse to change read() in my filesystem, I happened to notice that read() was called before the other read() fi开发者_运维百科nished. Is there anyway to sequentialize them? If they overlap,

While using fuse to change read() in my filesystem, I happened to notice that read() was called before the other read() fi开发者_运维百科nished. Is there anyway to sequentialize them? If they overlap, the data that I expect from first read() is actually created by the second. Thanks guys

  1. read(path="/location.csv", buf=0x01c16960, size=32768, offset=16384, fi=0x33eb4e40)

    start_read for 1

  2. read(path="/location.csv", buf=0x01c1eb60, size=65536, offset=49152, fi=0x346b5e40)

    start_read for 2

    end_read for 1

    end_read for 2


Try running your filesystem with the -s (single-threaded) option. If it does the trick, you can force it on by using adding it to your fuse_args using fuse_opt_add_arg.

0

精彩评论

暂无评论...
验证码 换一张
取 消