Skip to contentSkip to conversation

migration/rdma: Misc RDMA migration fixes

PATCH Superseded Yanfei Xu 5 participants 14 messages Aug 17 – Aug 21

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Yanfei Xu

author
#0 lore raw

cover migration/rdma: Misc RDMA migration fixes

This series fixes three small RDMA migration issues.

Yanfei Xu (3):
migration/rdma: Fix write-side shutdown migration/rdma: Post initial receive before accepting migration/rdma: Retry control sends on full queue

 migration/rdma.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
author
#1 lore raw

PATCH 1/3 migration/rdma: Fix write-side shutdown

qio_channel_rdma_shutdown() reads rdmain for both the input and output contexts. As a result, a write-side shutdown marks the input context as errored while leaving the output context active. A shutdown of both directions also fails to stop the output context.

Read rdmaout from the output context so each shutdown direction marks the corresponding RDMA context as errored.

Fixes 54db882f073a ("migration: implement the shutdown for RDMA QIOChannel")
---
 migration/rdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
migration/rdma.c +1 -1
index 438419d189..e17ace62b0 100644
@@ -2982,7 +2982,7 @@ qio_channel_rdma_shutdown(QIOChannel *ioc,
     RCU_READ_LOCK_GUARD();
 
     rdmain = qatomic_rcu_read(&rioc->rdmain);
-    rdmaout = qatomic_rcu_read(&rioc->rdmain);
+    rdmaout = qatomic_rcu_read(&rioc->rdmaout);
 
     switch (how) {
     case QIO_CHANNEL_SHUTDOWN_READ:
Signature · 1 line
2.20.1
Reviewed-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] migration/rdma: Fix write-side shutdown

Quoted 19 lines · Yanfei Xu

qio_channel_rdma_shutdown() reads rdmain for both the input and output contexts. As a result, a write-side shutdown marks the input context as errored while leaving the output context active. A shutdown of both directions also fails to stop the output context.

Read rdmaout from the output context so each shutdown direction marks the corresponding RDMA context as errored.

Fixes 54db882f073a ("migration: implement the shutdown for RDMA QIOChannel")
---
 migration/rdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
migration/rdma.c +0 -0
index 438419d189..e17ace62b0 100644

migration/rdma.c qio_channel_rdma_shutdown(QIOChannel *ioc, · line 2988

Quoted 8 lines
migration/rdma.c +1 -1
@@ -2982,7 +2982,7 @@ qio_channel_rdma_shutdown(QIOChannel *ioc,
     RCU_READ_LOCK_GUARD();
 
     rdmain = qatomic_rcu_read(&rioc->rdmain);
-    rdmaout = qatomic_rcu_read(&rioc->rdmain);
+    rdmaout = qatomic_rcu_read(&rioc->rdmaout);
 
     switch (how) {
     case QIO_CHANNEL_SHUTDOWN_READ:
Reviewed-by on v1 1/3
#3 lore raw

Re: [PATCH 1/3] migration/rdma: Fix write-side shutdown

In reply to Yanfei Xu
Quoted 30 lines · Yanfei Xu

qio_channel_rdma_shutdown() reads rdmain for both the input and output contexts. As a result, a write-side shutdown marks the input context as errored while leaving the output context active. A shutdown of both directions also fails to stop the output context.

Read rdmaout from the output context so each shutdown direction marks the corresponding RDMA context as errored.

Fixes 54db882f073a ("migration: implement the shutdown for RDMA QIOChannel")
---
 migration/rdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
migration/rdma.c +1 -1
index 438419d189..e17ace62b0 100644
@@ -2982,7 +2982,7 @@ qio_channel_rdma_shutdown(QIOChannel *ioc,
     RCU_READ_LOCK_GUARD();
 
     rdmain = qatomic_rcu_read(&rioc->rdmain);
-    rdmaout = qatomic_rcu_read(&rioc->rdmain);
+    rdmaout = qatomic_rcu_read(&rioc->rdmaout);
 
     switch (how) {
     case QIO_CHANNEL_SHUTDOWN_READ:
Signature · 1 line
2.20.1

I recall there was a patch like this somewhere, looks like we missed that..

Signature · 1 line
Peter Xu
author
#4 lore raw

PATCH 2/3 migration/rdma: Post initial receive before accepting

In reply to Yanfei Xu

The source return-path thread can send READY before the destination has posted its initial receive. Since RNR retries default to zero, the send can fail and abort migration.

Post the initial receive before rdma_accept() to close this window.

Fixes 55cc1b5937a8 ("migration: create a dedicated connection for rdma return path")
---
 migration/rdma.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
migration/rdma.c +6 -6
index e17ace62b0..6e8436ccc1 100644
@@ -3263,6 +3263,12 @@ static int qemu_rdma_accept(RDMAContext *rdma)
         }
     }
 
+    ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY, &err);
+    if (ret < 0) {
+        error_report_err(err);
+        goto err_rdma_dest_wait;
+    }
+
     /* Accept the second connection request for return path */
     if ((migrate_postcopy() || migrate_return_path())
         && !rdma->is_return_path) {
@@ -3295,12 +3301,6 @@ static int qemu_rdma_accept(RDMAContext *rdma)
     rdma_ack_cm_event(cm_event);
     rdma->connected = true;
 
-    ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY, &err);
-    if (ret < 0) {
-        error_report_err(err);
-        goto err_rdma_dest_wait;
-    }
-
     qemu_rdma_dump_gid("dest_connect", rdma->cm_id);
 
     return 0;
Signature · 1 line
2.20.1
Reviewed-by on v1 2/3
#5 lore raw

Re: [PATCH 2/3] migration/rdma: Post initial receive before accepting

Quoted 8 lines · Yanfei Xu

The source return-path thread can send READY before the destination has posted its initial receive. Since RNR retries default to zero, the send can fail and abort migration.

Post the initial receive before rdma_accept() to close this window.

Fixes 55cc1b5937a8 ("migration: create a dedicated connection for rdma return path")

This one looks correct to me,

Do you have way to reproduce it, or is this theory (or can be reproduced by adding delays)?

Quoted 37 lines
---
 migration/rdma.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
migration/rdma.c +6 -6
index e17ace62b0..6e8436ccc1 100644
@@ -3263,6 +3263,12 @@ static int qemu_rdma_accept(RDMAContext *rdma)
         }
     }
 
+    ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY, &err);
+    if (ret < 0) {
+        error_report_err(err);
+        goto err_rdma_dest_wait;
+    }
+
     /* Accept the second connection request for return path */
     if ((migrate_postcopy() || migrate_return_path())
         && !rdma->is_return_path) {
@@ -3295,12 +3301,6 @@ static int qemu_rdma_accept(RDMAContext *rdma)
     rdma_ack_cm_event(cm_event);
     rdma->connected = true;
 
-    ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY, &err);
-    if (ret < 0) {
-        error_report_err(err);
-        goto err_rdma_dest_wait;
-    }
-
     qemu_rdma_dump_gid("dest_connect", rdma->cm_id);
 
     return 0;
Signature · 1 line
2.20.1
Signature · 1 line
Peter Xu
Reviewed-by
#6 lore raw

Re: [PATCH 2/3] migration/rdma: Post initial receive before accepting

Quoted 6 lines · Peter Xu
Quoted 4 lines · Yanfei Xu

The source return-path thread can send READY before the destination has posted its initial receive. Since RNR retries default to zero, the send can fail and abort migration.

Quoted 8 lines
Quoted 4 lines

Post the initial receive before rdma_accept() to close this window.

Fixes 55cc1b5937a8 ("migration: create a dedicated connection for rdma return path")

This one looks correct to me,

Quoted 45 lines

Do you have way to reproduce it, or is this theory (or can be reproduced by adding delays)?

Quoted 35 lines
---
 migration/rdma.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
migration/rdma.c +6 -7
index e17ace62b0..6e8436ccc1 100644
@@ -3263,6 +3263,12 @@ static int qemu_rdma_accept(RDMAContext *rdma)
         }
     }
 
+    ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY, &err);
+    if (ret < 0) {
+        error_report_err(err);
+        goto err_rdma_dest_wait;
+    }
+
     /* Accept the second connection request for return path */
     if ((migrate_postcopy() || migrate_return_path())
         && !rdma->is_return_path) {
@@ -3295,12 +3301,6 @@ static int qemu_rdma_accept(RDMAContext *rdma)
     rdma_ack_cm_event(cm_event);
     rdma->connected = true;
 
-    ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY, &err);
-    if (ret < 0) {
-        error_report_err(err);
-        goto err_rdma_dest_wait;
-    }
-
     qemu_rdma_dump_gid("dest_connect", rdma->cm_id);
 
     return 0;
--
Quoted 2 lines

2.20.1

--
Peter Xu

#7 lore raw

Re: [PATCH 2/3] migration/rdma: Post initial receive before accepting

In reply to Peter Xu
Quoted 7 lines · Peter Xu
Quoted 6 lines · Yanfei Xu

The source return-path thread can send READY before the destination has posted its initial receive. Since RNR retries default to zero, the send can fail and abort migration.

Post the initial receive before rdma_accept() to close this window.

Quoted 8 lines
Quoted 2 lines
Fixes 55cc1b5937a8 ("migration: create a dedicated connection for rdma return path")

This one looks correct to me,

Do you have way to reproduce it, or is this theory (or can be reproduced by adding delays)?

Yes, adding delays can reproduce it.

For example with sleep(1) and related traces, log at source side:

2026-08-20T05:55:11.471421Z qemu_rdma_exchange_get_response_start CONTROL: READY receiving...
2026-08-20T05:55:11.471422Z qemu_rdma_post_send_control CONTROL: sending QEMU FILE..
2026-08-20T05:55:11.471447Z qemu_rdma_poll_other other completion 2000 received left 0
2026-08-20T05:55:11.471589Z qemu_rdma_poll_recv completion 0 received (4000) left 0
2026-08-20T05:55:11.471592Z qemu_rdma_poll_other other completion 4000 received left 0
2026-08-20T05:55:11.471594Z qemu_rdma_exchange_get_response_start CONTROL: READY receiving...
2026-08-20T05:55:11.471596Z qemu_rdma_post_send_control CONTROL: sending QEMU FILE..
2026-08-20T05:55:11.471617Z qemu_rdma_poll_other other completion 2000 received left 0
2026-08-20T05:55:11.705561Z qemu_rdma_close
2026-08-20T05:55:11.705587Z qemu_rdma_close
2026-08-20T05:55:11.705626Z qemu-system-x86_64: rdma migration: send polling control error
2026-08-20T05:55:11.707001Z qemu-system-x86_64: warning: Early error. Sending error.
2026-08-20T05:55:11.707031Z qemu_rdma_post_send_control CONTROL: sending ERROR..
2026-08-20T05:55:11.707038Z qemu-system-x86_64: warning: rdma migration: send polling control error
2026-08-20T05:55:11.707301Z qemu_rdma_cleanup_disconnect
2026-08-20T05:55:11.710569Z qemu_rdma_cleanup_disconnect

Regards,
Yanfei

#8 lore raw

Re: [PATCH 2/3] migration/rdma: Post initial receive before accepting

Quoted 13 lines · Yanfei Xu
Quoted 11 lines · Peter Xu
Quoted 8 lines · Yanfei Xu

The source return-path thread can send READY before the destination has posted its initial receive. Since RNR retries default to zero, the send can fail and abort migration.

Post the initial receive before rdma_accept() to close this window.

Fixes 55cc1b5937a8 ("migration: create a dedicated connection for rdma return path")

This one looks correct to me,

Quoted 8 lines
Quoted 4 lines

Do you have way to reproduce it, or is this theory (or can be reproduced by adding delays)?

Yes, adding delays can reproduce it.

For example with sleep(1) and related traces, log at source side:

Thanks for the info, then let's add some of such info into the commit log, to be clear on how it would trigger (and how likely).

Signature · 1 line
Peter Xu
author
#9 lore raw

PATCH 3/3 migration/rdma: Retry control sends on full queue

In reply to Yanfei Xu

RAM writes and control messages share the send queue. If outstanding writes fill it, RDMA writes drain a completion and retry, but control sends fail the migration.

Drain one outstanding write and retry the control send on ENOMEM.

---
 migration/rdma.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
migration/rdma.c +11 -1
index 6e8436ccc1..d1f44a5f55 100644
@@ -1572,9 +1572,19 @@ static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf,
         memcpy(wr->control + sizeof(RDMAControlHeader), buf, head->len);
     }
 
-
+retry:
     ret = ibv_post_send(rdma->qp, &send_wr, &bad_wr);
 
+    if (ret == ENOMEM && rdma->nb_sent) {
+        ret = qemu_rdma_block_for_wrid(rdma, RDMA_WRID_RDMA_WRITE, NULL);
+        if (ret < 0) {
+            error_setg(errp, "rdma migration: failed to make room for "
+                       "control send");
+            return -1;
+        }
+        goto retry;
+    }
+
     if (ret > 0) {
         error_setg(errp, "Failed to use post IB SEND for control");
         return -1;
Signature · 1 line
2.20.1
#10 lore raw

Re: [PATCH 3/3] migration/rdma: Retry control sends on full queue

Quoted 22 lines · Yanfei Xu

RAM writes and control messages share the send queue. If outstanding writes fill it, RDMA writes drain a completion and retry, but control sends fail the migration.

Drain one outstanding write and retry the control send on ENOMEM.

---
 migration/rdma.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
migration/rdma.c +1 -1
index 6e8436ccc1..d1f44a5f55 100644
@@ -1572,9 +1572,19 @@ static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf,
         memcpy(wr->control + sizeof(RDMAControlHeader), buf, head->len);
     }
 
-
+retry:
     ret = ibv_post_send(rdma->qp, &send_wr, &bad_wr);

migration/rdma.c static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf, · line 1586

Quoted 10 lines
migration/rdma.c +9 -0
 
+    if (ret == ENOMEM && rdma->nb_sent) {
+        ret = qemu_rdma_block_for_wrid(rdma, RDMA_WRID_RDMA_WRITE, NULL);
+        if (ret < 0) {
+            error_setg(errp, "rdma migration: failed to make room for "
+                       "control send");
+            return -1;
+        }
+        goto retry;
+    }

Looks also correct, but two questions:

- Should we provide a helper instead of duplicating the WRITE op handling? I believe only WRITE wrids can be on the fly.

- Could ENOMEM be returned when nb_sent==0? If that check applies to WRITE path too?

Thanks,

Quoted 7 lines
migration/rdma.c +1 -0
+
     if (ret > 0) {
         error_setg(errp, "Failed to use post IB SEND for control");
         return -1;
Signature · 1 line
2.20.1
Signature · 1 line
Peter Xu
#11 lore raw

Re: [PATCH 3/3] migration/rdma: Retry control sends on full queue

Hi peter,

Quoted 35 lines · Peter Xu
Quoted 22 lines · Yanfei Xu

RAM writes and control messages share the send queue. If outstanding writes fill it, RDMA writes drain a completion and retry, but control sends fail the migration.

Drain one outstanding write and retry the control send on ENOMEM.

---
  migration/rdma.c | 12 +++++++++++-
  1 file changed, 11 insertions(+), 1 deletion(-)
migration/rdma.c +1 -1
index 6e8436ccc1..d1f44a5f55 100644
@@ -1572,9 +1572,19 @@ static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf,
          memcpy(wr->control + sizeof(RDMAControlHeader), buf, head->len);
      }
 
-
+retry:
      ret = ibv_post_send(rdma->qp, &send_wr, &bad_wr);

migration/rdma.c static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf, · line 1586

Quoted 10 lines
migration/rdma.c +9 -0
 
+    if (ret == ENOMEM && rdma->nb_sent) {
+        ret = qemu_rdma_block_for_wrid(rdma, RDMA_WRID_RDMA_WRITE, NULL);
+        if (ret < 0) {
+            error_setg(errp, "rdma migration: failed to make room for "
+                       "control send");
+            return -1;
+        }
+        goto retry;
+    }

Looks also correct, but two questions:

Quoted 2 lines

- Should we provide a helper instead of duplicating the WRITE op handling? I believe only WRITE wrids can be on the fly.

Yes, control message is syncronized, only WRITE can be on the fly. A helper is a good suggestion. Will do.

Quoted 3 lines

- Could ENOMEM be returned when nb_sent==0? If that check applies to WRITE path too?

ENOMEM can be regarded as SQ is full to RDMA usage in qemu. Actually ENOMEM is determined by provider and could have other meaning like inline_data > qp->max_inline_data in mlx5. Based on qemu codes, I think it's fine without nb_sent==0

In addition, I encountered this bug when I attempt to send dirty pages belongs to same chunk in parallel. That could more efficiently utilizes throughput when many scattered page in one chunk, and quickly exhausts SQ's WRs. Will post a RFC with more data.

Regards,
Yanfei

Quoted 10 lines

Thanks,

Quoted 7 lines
migration/rdma.c +1 -0
+
      if (ret > 0) {
          error_setg(errp, "Failed to use post IB SEND for control");
          return -1;
Signature · 1 line
2.20.1
#12 lore raw

Re: [PATCH 3/3] migration/rdma: Retry control sends on full queue

Quoted 43 lines · Yanfei Xu

Hi peter,

Quoted 33 lines · Peter Xu
Quoted 20 lines · Yanfei Xu

RAM writes and control messages share the send queue. If outstanding writes fill it, RDMA writes drain a completion and retry, but control sends fail the migration.

Drain one outstanding write and retry the control send on ENOMEM.

---
  migration/rdma.c | 12 +++++++++++-
  1 file changed, 11 insertions(+), 1 deletion(-)
migration/rdma.c +1 -1
index 6e8436ccc1..d1f44a5f55 100644
@@ -1572,9 +1572,19 @@ static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf,
          memcpy(wr->control + sizeof(RDMAControlHeader), buf, head->len);
      }
-
+retry:

migration/rdma.c static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf, · line 1584

Quoted 10 lines
migration/rdma.c +9 -0
      ret = ibv_post_send(rdma->qp, &send_wr, &bad_wr);
+    if (ret == ENOMEM && rdma->nb_sent) {
+        ret = qemu_rdma_block_for_wrid(rdma, RDMA_WRID_RDMA_WRITE, NULL);
+        if (ret < 0) {
+            error_setg(errp, "rdma migration: failed to make room for "
+                       "control send");
+            return -1;
+        }
+        goto retry;
+    }

Looks also correct, but two questions:

Quoted 2 lines

- Should we provide a helper instead of duplicating the WRITE op handling? I believe only WRITE wrids can be on the fly.

Yes, control message is syncronized, only WRITE can be on the fly. A helper is a good suggestion. Will do.

Quoted 1 line
Quoted 7 lines
Quoted 2 lines

- Could ENOMEM be returned when nb_sent==0? If that check applies to WRITE path too?

ENOMEM can be regarded as SQ is full to RDMA usage in qemu. Actually ENOMEM is determined by provider and could have other meaning like inline_data > qp->max_inline_data in mlx5. Based on qemu codes, I think it's fine without nb_sent==0

I'm not familiar with mlx5 impl that you're discussing here, but IIUC the point is we should be able to capture all recoverable faults and retry, meanwhile we should fail immediately on non-recoverable faults.

From the name of the errno (ENOMEM), I expect non-recoverable faults can happen with it.. unless this is something special to libibverbs to explicitly imply "queue full"..

I wonder if it means this nb_sent!=0 check should indeed make sense, but I also wonder if we should add a number of retry so as to capture real ENOMEM errors otherwise that is not recoverable? As long as it won't keep spinning with the same error then we should be good.

Quoted 7 lines

In addition, I encountered this bug when I attempt to send dirty pages belongs
to same chunk in parallel. That could more efficiently utilizes throughput when
many scattered page in one chunk, and quickly exhausts SQ's WRs. Will post a RFC with more data.

Sure, I hope that still makes sure different versions of a same page will be still ordered.

Thanks,

Signature · 1 line
Peter Xu
#13 lore raw

Re: [PATCH 3/3] migration/rdma: Retry control sends on full queue

Quoted 52 lines · Peter Xu
Quoted 41 lines · Yanfei Xu

Hi peter,

Quoted 33 lines · Peter Xu
Quoted 20 lines · Yanfei Xu

RAM writes and control messages share the send queue. If outstanding writes fill it, RDMA writes drain a completion and retry, but control sends fail the migration.

Drain one outstanding write and retry the control send on ENOMEM.

---
   migration/rdma.c | 12 +++++++++++-
   1 file changed, 11 insertions(+), 1 deletion(-)
migration/rdma.c +1 -1
index 6e8436ccc1..d1f44a5f55 100644
@@ -1572,9 +1572,19 @@ static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf,
           memcpy(wr->control + sizeof(RDMAControlHeader), buf, head->len);
       }
-
+retry:

migration/rdma.c static int qemu_rdma_post_send_control(RDMAContext *rdma, uint8_t *buf, · line 1584

Quoted 10 lines
migration/rdma.c +9 -0
       ret = ibv_post_send(rdma->qp, &send_wr, &bad_wr);
+    if (ret == ENOMEM && rdma->nb_sent) {
+        ret = qemu_rdma_block_for_wrid(rdma, RDMA_WRID_RDMA_WRITE, NULL);
+        if (ret < 0) {
+            error_setg(errp, "rdma migration: failed to make room for "
+                       "control send");
+            return -1;
+        }
+        goto retry;
+    }

Looks also correct, but two questions:

Quoted 2 lines

- Should we provide a helper instead of duplicating the WRITE op handling? I believe only WRITE wrids can be on the fly.

Yes, control message is syncronized, only WRITE can be on the fly. A helper is a good suggestion. Will do.

Quoted 6 lines
Quoted 2 lines

- Could ENOMEM be returned when nb_sent==0? If that check applies to WRITE path too?

ENOMEM can be regarded as SQ is full to RDMA usage in qemu. Actually ENOMEM is determined by provider and could have other meaning like inline_data > qp->max_inline_data in mlx5. Based on qemu codes, I think it's fine without nb_sent==0

I'm not familiar with mlx5 impl that you're discussing here, but IIUC the point is we should be able to capture all recoverable faults and retry, meanwhile we should fail immediately on non-recoverable faults.

Quoted 8 lines

From the name of the errno (ENOMEM), I expect non-recoverable faults can
happen with it.. unless this is something special to libibverbs to explicitly imply "queue full"..

I wonder if it means this nb_sent!=0 check should indeed make sense, but I also wonder if we should add a number of retry so as to capture real ENOMEM errors otherwise that is not recoverable? As long as it won't keep spinning with the same error then we should be good.

After a rough search of the rdma-core code I didn't find any place explicit defining ENOMEM to post_send op as meaning "queue full" . You are right, ENOMEM can be non-recoverable fault, and we should avoid infinitely waitting in those cases.

ENOMEM && nb_sent==0 must not be the case "queue is full", so we can fail fast. As for other non-recoverable faults, I think limit the times of retry is neccessary.

Thanks for your suggestions!

Quoted 9 lines
Quoted 7 lines

In addition, I encountered this bug when I attempt to send dirty pages belongs
to same chunk in parallel. That could more efficiently utilizes throughput when
many scattered page in one chunk, and quickly exhausts SQ's WRs. Will post a RFC with more data.

Sure, I hope that still makes sure different versions of a same page will be still ordered.

Sure we can discuss in that serial.

Regards,
Yanfei

Quoted 3 lines

Thanks,