1. A method of performing an operation in a data storage device, the method comprising: receiving a plurality of atomic write commands; grouping together the plurality of atomic write commands into a single atomic operation; obtaining a plurality of ranges of logical addresses affected by the plurality of atomic write commands; for each of the plurality of affected ranges, assigning metadata information to track completion of a write operation performed at that range; performing the write operations in the ranges of logical addresses; updating the metadata information upon completion of the write operations in the ranges; and deferring an update to a translation map of the data storage device until the metadata information has been updated.