*** JUST FOR TESTING - NOT TO BE APPLIED *** Delayed metadata writeback results in a hang, disable it until it is fixed. Pios end in the waiting list of md and get stuck there never to complete.
Signed-off-by: Alexander Atanasov <alexander.atana...@virtuozzo.com> --- drivers/md/dm-ploop-map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/md/dm-ploop-map.c b/drivers/md/dm-ploop-map.c index b49c6ca78a0c..dc9fb36ded3f 100644 --- a/drivers/md/dm-ploop-map.c +++ b/drivers/md/dm-ploop-map.c @@ -1940,7 +1940,8 @@ static inline int ploop_submit_metadata_writeback(struct ploop *ploop, int force */ llist_for_each_safe(pos, t, ll_wb_batch) { md = list_entry((struct list_head *)pos, typeof(*md), wb_link); - if (!llist_empty(&md->wait_llist) || force || test_bit(MD_HIGHPRIO, &md->status) || + /* XXX: fixme delay results in a hang - TBD */ + if (1 || !llist_empty(&md->wait_llist) || force || test_bit(MD_HIGHPRIO, &md->status) || time_before(md->dirty_timeout, timeout)) { /* L1L2 mustn't be redirtyed, when wb in-flight! */ WARN_ON_ONCE(!test_bit(MD_DIRTY, &md->status)); -- 2.43.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel