applog(LOG_DEBUG,"Pushing work to requesting thread");
@ -2890,7 +2890,12 @@ static int tv_sort(struct work *worka, struct work *workb)
@@ -2890,7 +2890,12 @@ static int tv_sort(struct work *worka, struct work *workb)
staticboolhash_push(structwork*work)
{
boolrc=true;
boolrc=true,dec=false;
if(work->queued){
work->queued=false;
dec=true;
}
mutex_lock(stgd_lock);
if(likely(!getq->frozen)){
@ -2901,6 +2906,10 @@ static bool hash_push(struct work *work)
@@ -2901,6 +2906,10 @@ static bool hash_push(struct work *work)