FIX: volatile data should be flushed out all

IN termination, must guarantees
all the volatile data should be flushed out to cache device

1. current RAM buffer should be flushed
2. all the queued flush jobs are sent to the cache device.