On Thu, May 09, 2013 at 08:30:12AM +0200, Stefan Behrens wrote: > On 05/09/2013 01:13, Zhi Yong Wu wrote: > >HI, all > > > > I saw that bcache will be merged into kernel upstream soon, so i > >want to know if btrfs hot relocation support is still meanful, if no, > >i will not continue to work on it. can anyone let me know this? > >thanks. > > Which one is better? > > Please do some measurements. Select typical file system use cases, > and publish and compare the measurement results of the two > approaches.
Hi Stefan, AFAIU, the key issue is that the hot relocation feature should be implemented in file system or in block device because file system knows which data is hot, and the application could use fadvise/ioctl/... interfaces to give a hint to file system to keep some data in fast device. But IIUC dm-cache/bcache only can do is like: "hey, this data should be hot just because it is touched twice." In some cases, touched twice not always means that it should be kept in fast device. Regards, - Zheng -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html