Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Li (0.16 sec)

  1. cmd/namespace-lock.go

    	const readLock = true
    	success := make([]int, len(li.paths))
    	for i, path := range li.paths {
    		if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) {
    			timeout.LogFailure()
    			for si, sint := range success {
    				if sint == 1 {
    					li.ns.unlock(li.volume, li.paths[si], readLock)
    				}
    			}
    			if err := ctx.Err(); err == context.Canceled {
    				return LockContext{}, err
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top