Rework ploop_advance_local_after_bat_wb so that if we have delayed
update to the same page is really executed and don't endup in wait_list.
Due to releasing and taking locks there was a window that a new update
could go into the wait_list. Both due to WRITEBACK bit cleared after
retaking the lock.
Cosmetic change: set_task_state is gone, set_current_state is used.
https://virtuozzo.atlassian.net/browse/VSTOR-103768
Signed-off-by: Alexander Atanasov
---
block/blk-rq-qos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blk-rq-qos.c b/block/blk-rq-qos.c
index 167be