In a particular embodiment, a controller is adapted to allocate each
memory segment location of a plurality of memory segment locations of a
storage media to store data blocks having a particular data block size.
Each memory segment location includes one or more storage blocks of the
particular data block size. The controller is adapted to write a data
block to one or more selected storage blocks of a selected memory segment
location based on a size of the data block and an allocated data block
size associated with the selected memory segment location.