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

lushasha08 at 126.com
Fri, 03 Dec 2021 08:50:50 -0000

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?