MCPcopy Index your code
hub / github.com/containerd/containerd / hasDirectIO

Function hasDirectIO

core/mount/mount_linux.go:397–404  ·  view source on GitHub ↗
(opts []string)

Source from the content-addressed store, hash-verified

395}
396
397func hasDirectIO(opts []string) (bool, []string) {
398 for idx, opt := range opts {
399 if opt == "direct-io" {
400 return true, append(opts[:idx], opts[idx+1:]...)
401 }
402 }
403 return false, opts
404}
405
406// compactLowerdirOption updates overlay lowdir option and returns the common
407// dir among all the lowdirs.

Callers 1

mountMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…