Commit 3b8bb31
smb: client: do not start laundromat thread on nohandlecache
Honor 'nohandlecache' mount option by not starting laundromat thread
even when SMB server supports directory leases. Do not waste system
resources by having laundromat thread running with no directory
caching at all.
Fixes: 2da338f ("smb3: do not start laundromat thread when dir leases disabled")
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent cedc019 commit 3b8bb31
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2474 | 2474 | | |
2475 | 2475 | | |
2476 | 2476 | | |
2477 | | - | |
2478 | 2477 | | |
| 2478 | + | |
| 2479 | + | |
2479 | 2480 | | |
2480 | 2481 | | |
2481 | 2482 | | |
| |||
2493 | 2494 | | |
2494 | 2495 | | |
2495 | 2496 | | |
2496 | | - | |
2497 | | - | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
2498 | 2500 | | |
2499 | | - | |
| 2501 | + | |
| 2502 | + | |
2500 | 2503 | | |
2501 | 2504 | | |
2502 | 2505 | | |
2503 | 2506 | | |
| 2507 | + | |
2504 | 2508 | | |
2505 | 2509 | | |
2506 | 2510 | | |
| |||
2662 | 2666 | | |
2663 | 2667 | | |
2664 | 2668 | | |
2665 | | - | |
2666 | | - | |
2667 | | - | |
2668 | | - | |
2669 | 2669 | | |
2670 | 2670 | | |
2671 | 2671 | | |
| |||
0 commit comments