search for: id_of_op

Displaying 1 result from an estimated 1 matches for "id_of_op".

2006 Aug 21
1
[PATCH 3 of 6] dm-userspace internal libdmu support for userspace tool
...v_msg.org_block = block; + + DPRINTF("Queuing invalidation for block %llu\n", block); + + return dmu_ctl_queue_msg(ctx, DM_USERSPACE_MAP_INVALIDATE, + &inv_msg); +} + +int dmu_sync_complete(struct dmu_context *ctx, uint32_t id) +{ + struct dmu_msg_status status_msg; + + status_msg.id_of_op = id; + status_msg.status = DM_USERSPACE_SYNC_COMPLETE; + + DPRINTF("Queuing metadata written for block %llu\n", block); + + return dmu_ctl_queue_msg(ctx, DM_USERSPACE_STATUS, + &status_msg); +} + +static int dmu_ctl_peek_queue(struct dmu_context *ctx, + int *type, void **...