[Samba] Why samba only use single thread to process request? Why vfs_cephfs

lushasha08 at 126.com lushasha08 at 126.com
Fri Dec 3 08:50:50 UTC 2021


Hi, Lists
        I recently begin to study samba source code. I am focus on samba FileServer code.  I have some confusion. Can you give me some help?
       
       1. Why samba only use single thread to process request from one connection? Why not use threadpools?  I think using threadpool can improve performance extremly.

        2. Why async ceph write faked up by calling the sync API?  Can async ceph write just use conn's threadpool like glusterfs?


More information about the samba mailing list