Hi Here I'm sending the dm-writecache patches. The first patch optimizes x86 memcpy_flushcache for small constant size. It increases dm-writecache throughput by about 2%. It should be already in Dan Williams' tree. The second patch exports __prepare_to_swait and __finish_swait. The third patch is dm-writecache that is already in Mike's tree. The fourth patch converts it to use the new API. The pmem_* API is at the beginning of the file dm-writecache.c - it may be moved to system include files. Mikulas -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel