xfs_db might return outdated info for a mounted filesystem...
mvollmer opened this issue · comments
Marius Vollmer commented
I made you switch to use xfs_db instead of xfs_info in #871, but turns out that xfs_db might return the old size when you run it right after growing a mounted xfs filesystem. xfs_info (via xfs_spaceman) return the new size.
Grrr.
Marius Vollmer commented
It can take a long time (tens of seconds) until xfs_db catches up.
Tomáš Bžatek commented
It can take a long time (tens of seconds) until xfs_db catches up.
Sounds like a writeback issue. Perhaps an explicit sync/fsync() might help.