dm thin: simplify pool_is_congested
authorMike Snitzer <snitzer@redhat.com>
Thu, 20 Mar 2014 12:36:47 +0000 (08:36 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 31 Mar 2014 14:05:51 +0000 (10:05 -0400)
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>
drivers/md/dm-thin.c

Simple merge