ext4: Do not let fstrim block suspend
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ext4: Move setting of trimmed bit into ext4_try_to_trim_range()fs/ | +25 | 0 replies | |
| 2/2 | ext4: Do not let fstrim block system suspendfs/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ext4: Do not let fstrim block suspend
Hello,
these two patches fix a long standing issue that long running fstrim request can block a system suspend as reported by Len Brown in [1]. The solution is quite simple - just report whatever we have trimmed upto now since discard is an advisory call anyway. What makes things a bit more complex is handling of group's TRIMMED bit - we deal with that in patch 1.
Honza