We recently had a pretty severe perf regression with the XFS async discard. This small series add a SYNC issue discard flag, and also limits the chain size for sync discards. Patch 2 adds support for reverting XFS back to doign sync discards. -- Jens Axboe