commit | 760fe67e539b2f1a95dbb4c9700140eccdb1c0c1 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Thu Mar 20 08:36:47 2014 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Mar 31 10:05:51 2014 -0400 |
tree | 985b145d41a1a6fac2ec5fae981377c6d69bc154 | |
parent | fe76cd88e654124d1431bb662a0fc6e99ca811a5 [diff] |
dm thin: simplify pool_is_congested The pool is congested if the pool is in PM_OUT_OF_DATA_SPACE mode. This is more explicit/clear/efficient than inferring whether or not the pool is congested by checking if retry_on_resume_list is empty. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Acked-by: Joe Thornber <ejt@redhat.com>