Enable direct I/O with gfs2_tool

Latest response

I am working on a project where an application requires Direct I/O to be enabled on GFS.

 

For GFS version 1, there is a command to set the attribute to a specific file or path "gfs_tool setflag directio filename". 

 

On GFS2, I can't seem to find the option, I onlt see the following:

 

Flags:
  jdata
  exhash
  ea_indirect
  immutable
  appendonly
  noatime
  sync
  trunc_in_progFlags:
  jdata
  exhash
  ea_indirect
  immutable
  appendonly
  noatime
  sync
  trunc_in_prog

Flags:

  jdata

  exhash

  ea_indirect

  immutable

  appendonly

  noatime

  sync

  trunc_in_prog

 

Does anyone know what the equivalent is in GFS2?

Responses