• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / alioth / 42964317477
44%

Build:
DEFAULT BRANCH: main
Ran 11 Nov 2026 05:16AM UTC
Jobs 1
Files 130
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Nov 2026 05:10AM UTC coverage: 43.843% (+0.02%) from 43.824%
42964317477

push

github

Lencerf
fix(virtio): sync disk data on virtio-blk FLUSH

VirtioMio::handle_queue() previously handled BlkRequest::Flush by
calling <&File as Write>::flush(), which is a no-op in the Rust standard
library and never synchronizes data to disk.

Per VirtIO 1.4 Sec 5.2.6.2, a block device backed by persistent storage
must ensure writes are committed to it before reporting completion of a
VIRTIO_BLK_T_FLUSH request. Call File::sync_data() instead.

A flush only needs the written data and the metadata required to read
it back, such as the file size and block allocation, not timestamps.
So also set IORING_FSYNC_DATASYNC on the fsync in the io_uring worker,
which makes both workers use fdatasync(2) on Linux. On macOS,
sync_data() issues F_FULLFSYNC, the same as sync_all().

Fixes: 9a3857f84dc2 ("fix(blk): flush disk file on FLUSH requests")
Signed-off-by: Changyuan Lyu <changyuanl@google.com>

982 of 1756 branches covered (55.92%)

Branch coverage included in aggregate %.

0 of 4 new or added lines in 1 file covered. (0.0%)

6997 of 16443 relevant lines covered (42.55%)

905.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
0.0
0.0% alioth/src/virtio/dev/blk.rs
Jobs
ID Job ID Ran Files Coverage
1 42964317477.1 11 Nov 2026 05:16AM UTC 130
43.84
GitHub Action Run
Source Files on build 42964317477
  • Tree
  • List 130
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42964317477
  • b641dff3 on github
  • Prev Build on gh-readonly-queue/main/pr-540-8d777ce94ae17bd0271b89595dc5e6d99cf4d576 (#42956906586)
  • Next Build on main (#42979452786)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc