The invention relates to host caching in data storage systems. In an embodiment,
the invention provides a first host and a second host, each having memory. The
host memory includes nonvolatile and volatile portions available for cache. Each
host logically owns its volatile memory and the other host's nonvolatile memory.
By assigning ownership in this way data can be transmitted between the hosts with
little communication overhead. In addition, if the first host fails between write
acknowledgment and destaging the write data, the write data is safely stored in
the second nonvolatile memory of the second host. Thus, the second host can destage
the data from the second nonvolatile memory. In addition, the host cache writes
and reads the data rapidly by its nature.