Design Lab: Implemented ospfs device ioctl handler and added user application to call ioctl and set nwrites_to_crash.