libheca provides an API for setting up DSM in the kernel. It requires the heca DSM kernel module to be installed.