vmmd_log: output number of entries read from disk
This commit is contained in:
parent
c8f1030403
commit
f9cb93b1bc
|
@ -162,6 +162,7 @@ let jump _ file sock =
|
|||
Lwt_unix.listen s 1 ;
|
||||
let ring = Vmm_ring.create `Startup () in
|
||||
read_from_file file >>= fun entries ->
|
||||
Logs.app (fun m -> m "read %d entries from disk" (List.length entries)) ;
|
||||
List.iter (Vmm_ring.write ring) entries ;
|
||||
let mvar, writer = write_to_file file in
|
||||
let start = Ptime_clock.now (), `Startup in
|
||||
|
|
Loading…
Reference in a new issue