v2
2026-11-04
io_uring新增utimensat · v2
为 io_uring 增加 IORING_OP_UTIMENSAT,新增 filename_utimensat,并在文件系统不能睡眠时内联设置时间。
原始补丁链接
子 Patch(3)
1/3
fs: add filename_utimensat()
[fs: add filename_utimensat()] From: Méven Car meven@kde.org Copy utilities that preserve timestamps, like cp -p or a file manager, set the times of every copy after its last write. To do that thro
2/3
io_uring: add support for utimensat
[io_uring: add support for utimensat] From: Méven Car meven@kde.org A program that copies many files sets the times of every copy after its last write. On NFS and SMB each of those calls is a round
3/3
io_uring: set times inline when the filesystem cannot sleep
[io_uring: set times inline when the filesystem cannot sleep] From: Méven Car meven@kde.org IORING_OP_UTIMENSAT always went to io-wq. On tmpfs the setattr only changes the inode in memory, so the h