Hi >>On 11/19/24 1:12 AM, lizetao wrote: >> Adds support for doing chmod through io_uring. IORING_OP_FCHMOD >>behaves like fchmod(2) and takes the same arguments. > Looks pretty straight forward. The only downside is the forced use of REQ_F_FORCE_ASYNC - did you look into how feasible it would be to allow non-blocking issue of this? Would imagine the majority of fchmod calls end up not blocking in the first place. Yes, I considered fchmod to allow asynchronous execution and wrote a test case to test it, the results are as follows: fchmod: real 0m1.413s user 0m0.253s sys 0m1.079s io_uring + fchmod: real 0m1.268s user 0m0.015s sys 0m5.739s There is about a 10% improvement. > -- >Jens Axboe -- Li Zetao