A method and mechanism of accessing segments in data storage systems is
disclosed. In one embodiment, extents in a segment are coalesced into
groups based on the data storage device each extent is stored on. Rather
than submit an I/O operation for each extent, a single I/O operation is
submitted for each group of extents.