diff options
author | Vikas Gorur <vikas@gluster.com> | 2010-01-15 06:59:00 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-01-19 05:56:35 -0800 |
commit | a23185f3a43ec95a56af9f0f543b67a1fcfb4852 (patch) | |
tree | 3af85514c46c3d84ed779fa111c3ef7021572af6 /extras/defrag.sh | |
parent | 4951f4dcc1b795b42fa845b6a89a9902af5b6586 (diff) |
storage/posix: Hand off calling close() and closedir() to the janitor thread.
Let the janitor thread handle calling close() and closedir() on fd's and DIR *
when posix_release is called. This avoids blocking the main server loop
due to close().
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 533 (close() should not block main loop)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=533
Diffstat (limited to 'extras/defrag.sh')
0 files changed, 0 insertions, 0 deletions