This patch implements my purpose from previous mail, adapting the atomic open to work with no_open/no_open_dir features. I tested this patch by creating and subsequently closing 10,000 empty files using virtio-fs. The total execution time demonstrated a reduction of around 15% comparing to the unpatched version. Hope this patch could be integrated to the v11 version. Yuan Yao (1): fuse: Handle no_open/no_opendir in atomic_open fs/fuse/dir.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.43.0.rc1.413.gea7ed67945-goog