Skip to content

Commit 42bf94a

Browse files
committed
io_uring: fix swapped transfer statistics
Closes: #33
1 parent e9d2b56 commit 42bf94a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/io_uring.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ pub async fn io_loop(
387387
from_file = tokio_uring::spawn(proxy(
388388
ProxyType::HeadUnit,
389389
hu_w,
390-
stream_bytes.clone(),
390+
file_bytes.clone(),
391391
tx_hu.clone(),
392392
rx_hu,
393393
rxr_md,
@@ -397,7 +397,7 @@ pub async fn io_loop(
397397
from_stream = tokio_uring::spawn(proxy(
398398
ProxyType::MobileDevice,
399399
md_w,
400-
file_bytes.clone(),
400+
stream_bytes.clone(),
401401
tx_md,
402402
rx_md,
403403
rxr_hu,

0 commit comments

Comments
 (0)