dm-block-manager unused variable
in file dm-block-manager.c, in function dm_block_manager_create(),the variable cache_size unused? Any design considerations?
------------------------------------------------------------------
发件人:Mike Snitzer <[email protected]>
发送时间:2014年11月2日(星期日) 02:46
收件人:lilofile <[email protected]>
抄 送:dm-devel <[email protected]>
主 题:Re: [dm-devel] dm-thin COMMIT_PERIOD problem
Quoted 2 lines · lilofile
In dm-thin.c,COMMIT_PERIOD is set HZ, I think this value has a impact on system impact,too frequent commit will reduce the write performance of the system?
other method which it is submitted by the total size of dirty data is feasible?
It only issues IO if changes have occured. It isn't writing to disk every second unless changes need to get to disk anyway.
(There was a bug where it _did_ write the metadata superblock every second even when it wasn't needed.. since fixed with this commit:
http://git.kernel.org/linus/4d1662a30 )
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel