Disclosed is a system, method, and program for transferring data. When a
transaction commits, multiple data objects that have been changed by the
transaction are identified. The multiple data objects are written from
local storage to a cache structure using a batch write command. When
changed data objects at a first system that are not cached in the shared
external storage are written to disk, a batch cross invalidation command
is used to invalidate the data objects at a second system. Additionally,
multiple data objects are read from the cache structure into a processor
storage using a batch castout command.