Sun Microsystems 5310 NAS Server User Manual


 
6-10 Sun StorEdge 5310 NAS Troubleshooting Guide December 2004
FIGURE 6-6 Mappings for Block n After Deleting ckpti-1
Another example assumes checkpoint ckpti+1 is to be removed. Because ckpti has no
mapping for itself, p is copied to the entry for ckpti. Because there is no entry after
ckpti, nothing else need be done. The result is depicted in Figure 6-7.
Yet, another example where deleting ckpti-2 is exactly like deleting ckpti-1 with the
difference that in Figure 6-6, ckpti-2 is replaced with ckpti-1.
Checkpoint are deleted using sfs2cp_dirop( ) function. This function just marks the
checkpoint for deletion and the cleaner thread does rest of the work (described
above). When a checkpoint is deleted, it will be removed from stack of active
checkpoints in the mode page.
FIGURE 6-7 After Deleting ckpti+1.