diff options
author | Mohit Agrawal <moagrawa@redhat.com> | 2020-07-27 18:08:00 +0530 |
---|---|---|
committer | MOHIT AGRAWAL <moagrawa@redhat.com> | 2020-08-20 12:11:43 +0000 |
commit | 41b9616435cbdf671805856e487e373060c9455b (patch) | |
tree | 6459211f8203ac2ae111bd992dd67aae3b1e34cf /xlators/storage/posix/src/posix-metadata-disk.h | |
parent | 742358ec1ab488a092d1fd9b2b47c717b627181e (diff) |
posix: Implement a janitor thread to close fd
Problem: In the commit fb20713b380e1df8d7f9e9df96563be2f9144fd6 we use
syntask to close fd but we have found the patch is reducing the
performance
Solution: Use janitor thread to close fd's and save the pfd ctx into
ctx janitor list and also save the posix_xlator into pfd object to
avoid the race condition during cleanup in brick_mux environment
Change-Id: Ifb3d18a854b267333a3a9e39845bfefb83fbc092
Fixes: #1396
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-metadata-disk.h')
0 files changed, 0 insertions, 0 deletions