Cmd - comp write
Matthew Wilcox
willy at linux.intel.com
Thu Apr 24 10:43:31 PDT 2014
On Thu, Apr 24, 2014 at 10:03:30AM -0700, Learner Study wrote:
> Thanks. So its not really used to optimize SSD write operation
> per-se...correct? Its only used for locking purpose mainly. I'm not
> too familiar with the upper application layers...is "locking" a very
> common operation used in storage work? I would think so - for eg. to
> coordinate writes to namespaces and its accesses, this could be
> used...is that understanding correct?
Locking is almost never used. Usually one entity controls exclusive
access to the media and coordinates all accesses to it. The use case
is multipath environments like dual-ported drives or NAS where there may
be multiple independent entities competing for access to the same media.
More information about the Linux-nvme
mailing list