diff options
author | Rohith Surabattula <[email protected]> | 2021-04-13 00:26:42 -0500 |
---|---|---|
committer | Steve French <[email protected]> | 2021-05-03 11:20:35 -0500 |
commit | c3f207ab29f793b8c942ce8067ed123f18d5b81b (patch) | |
tree | ecfa1fdb80e4aa3281c34008d6962d61eb471573 /lib/mpi/mpi-sub-ui.c | |
parent | fee742b502894c8ed02506fff61d7605934f93cb (diff) |
cifs: Deferred close for files
When file is closed, SMB2 close request is not sent to server
immediately and is deferred for acregmax defined interval. When file is
reopened by same process for read or write, the file handle
is reused if an oplock is held.
When client receives a oplock/lease break, file is closed immediately
if reference count is zero, else oplock is downgraded.
Signed-off-by: Rohith Surabattula <[email protected]>
Reviewed-by: Shyam Prasad N <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions