What single OS operation would result in the state of the SS…

What single OS operation would result in the state of the SSD changing to the following:   FTL     1:  6   2: 10   5:  2   7:  1         8: 20   9:  4  12: 16  13:  9        15: 21  17: 17  18:  5  29: 13        19: 11  20: 14  21: 15  23:  3        24: 18  25:  0  27:  8  28:  7  Block 0          1          2          Page  0000000000 1111111111 2222222222       0123456789 0123456789 0123456789 State vvvvvvvvvv vvvvvvvvvv vvEEEEEEEE Data  Ih7tj3UYbK 34quFTEPXg Hg         Live  ++++++++++ ++ ++++++  ++         

Assuming we start with no state in memory, and have a LFS wi…

Assuming we start with no state in memory, and have a LFS with that looks like the following: how many disk I/Os do we need to perform to read the contents of the directory “/”?   block 0: Checkpoint region: imap[0..2] -> 3block 1: [(“.” 0), (“..” 0)] block 2: [size=1,ptr=1,type=d] block 3: [imap: 0->2]

You are given a stream of writes that appear on a disk that…

You are given a stream of writes that appear on a disk that runs a Log Structured File System. However some of the entries from the segment are now missing and you are asked to investigate what those missing entries might be.    Assumptions: You can also assume that a single inode takes up an entire block (for simplicity). The LFS inode map is called the “imap” below and of course is also updated as needed. The inodes in this filesystem contain:    (a) size field which counts the number of blocks present in the file/directory    (b) ptr field which contains a list of pointers to data blocks    (c) type field which is ‘d’ for directories and ‘f’ for regular files