Product SiteDocumentation Site

9.13. Mount Path

Mounting an XFS filesystem has several steps
  1. Allocate a xfs_mount structure
  2. Parse mount options (xfs_parseargs)
  3. Open up the log and realtime device
    • xfs_alloc_buftarg starts a kernel thread for delayed write buffers for each device
  4. Call xfs_readsb to read the super block
  5. Call xfs_finish_flags the mount options to what was in the super block
  6. Tell the buffers what the sector size is going to be with xfs_setsize_buftarg
  7. Check to see if this device supports write barriers
  8. Then we call xfs_mountfs to complete the mount
  9. Finally we read the root inode and start the sync daemon (xfssyncd)
MediaWiki Appliance - Powered by TurnKey Linux