summaryrefslogtreecommitdiffstats
path: root/discover/ipmi.c
diff options
context:
space:
mode:
authorSam Mendoza-Jonas <sam@mendozajonas.com>2016-03-15 16:30:17 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-03-23 09:06:09 +1100
commita2441c75956929293359888a4169114267a5fdbf (patch)
treeeffaff0e3ef2abd25a912319d426b954a9ee713a /discover/ipmi.c
parent55ffff9a5e0bd87fd4e8720a35b65befde9fe965 (diff)
downloadtalos-petitboot-a2441c75956929293359888a4169114267a5fdbf.tar.gz
talos-petitboot-a2441c75956929293359888a4169114267a5fdbf.zip
discover/device-handler: Attempt to retry failed mounts
Commit 6c1a9dd, "discover: Allow fs recovery if snapshot available", forced the use of 'norecovery' for all XFS mounts to avoid failing when a cross-endian journal existed. This is a bit heavy handed, healthy XFS file systems can still be safely mounted, as can dirty filesystems in the same endian as Petitboot. This adds try_mount() which opportunistically mounts devices and falls back to using 'norecovery' where possible on failure. This enables XFS filesystems to be mounted read-write when possible. try_mount() contains the logic previously described by fs_parameters(), and should be used in place of any existing calls to mount(). Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/ipmi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud