You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkpoints require support across many parts of CrashMonkey. This part is meant to provide the ability for the disk_wrapper to actually create a checkpoint. This should be implemented as part of the ioctl created in #40.
For checkpoints, we can assume 2 things:
the user has just performed a sync/fsync request of some form
this call will block until all parts of the checkpoint are completed
When a checkpoint request is received an an ioctl, the disk_wrapper should insert a new disk_write_op into the sequence to signify that a checkpoint was made. This operation should have no data, but should have flags to denote that it is a checkpoint. New flags will need to be created to signify checkpoint operations as the current flags don't reflect that.
Insertion into the list of disk operations should be done in a thread-safe manner. It could be the case that another process is attempting to insert a write into the list, so be sure to use proper locking to ensure nothing is lost.
The checkpoint operation should appear like all the other operations in the list so that it can be transferred to user space like all the others.
The text was updated successfully, but these errors were encountered:
Part of the revised version of #12.
Checkpoints require support across many parts of CrashMonkey. This part is meant to provide the ability for the
disk_wrapper
to actually create a checkpoint. This should be implemented as part of the ioctl created in #40.For checkpoints, we can assume 2 things:
When a checkpoint request is received an an ioctl, the
disk_wrapper
should insert a newdisk_write_op
into the sequence to signify that a checkpoint was made. This operation should have no data, but should have flags to denote that it is a checkpoint. New flags will need to be created to signify checkpoint operations as the current flags don't reflect that.Insertion into the list of disk operations should be done in a thread-safe manner. It could be the case that another process is attempting to insert a write into the list, so be sure to use proper locking to ensure nothing is lost.
The checkpoint operation should appear like all the other operations in the list so that it can be transferred to user space like all the others.
The text was updated successfully, but these errors were encountered: