]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smb: enable reuse of deferred file handles for write operations
authorBharath SM <bharathsm@microsoft.com>
Fri, 13 Dec 2024 17:20:21 +0000 (22:50 +0530)
committerSteve French <stfrench@microsoft.com>
Mon, 23 Dec 2024 14:05:39 +0000 (08:05 -0600)
commitb8ea3b1ff544b47c1d64a22860f33b755638164e
tree2218590ef537b93250b4c1bce2778d13ded3b97b
parent4bbf9020becbfd8fc2c3da790855b7042fad455b
smb: enable reuse of deferred file handles for write operations

Previously, deferred file handles were reused only for read
operations, this commit extends to reusing deferred handles
for write operations. By reusing these handles we can reduce
the need for open/close operations over the wire.

Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/file.c