Help for this page

Select Code to Download


  1. or download this
    # array mapping PPN to hash of info key => value
    #  element keys:
    #   LPN => logical page number stored at this block
    #   XPPN => array of unknown numbers found with this block
    my @PPN = ();
    
  2. or download this
    # array mapping LPN to array of PPNs that store copies
    #  each element is an array of PPNs
    my @LPN = ();
    
  3. or download this
    use constant NAND_PAGE_SIZE => 16384;  # or whatever...
    {
    ...
      }
      close IMAGE;
    }