Skip to contentSkip to conversation

writeboost: rename "migration" to "writeback"

RFC Satoru Takeuchi 2 participants 2 messages Jul 12, 2014 – Jul 18, 2014 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi Akira, Joe, and all.

Recently I've used dm-writeboost a bit. I have an opinion about the naming of migration. Writeboost call writeback from cache device to backing device "migration" as Akira said in the following his document.

https://github.com/akiradeveloper/dm-writeboost/blob/develop/doc/writeboost.txt
===
...
(2) Migrate Daemon
This daemon writes back the dirty data on the cache device to the backing device. Writeboost calls writeback "Migration".
...
===

However, I consier "writeback" is far straightforward word than "migration" here for most people. Since such renaming makes the usability (migration is visible to user) and code readability, it should be avoided without special reason.

How about re-renaming "migration" to more straightforward "writeback"? If you agree with this idea, I'll write a patch to fix it for kernel and device-mapper-test-suite.

Thanks,
Satoru

#1 lore raw

Hi, Satoru,

Quoted 3 lines

How about re-renaming "migration" to more straightforward "writeback"? If you agree with this idea, I'll write a patch to fix it for kernel and device-mapper-test-suite.

I really appreciate that you will do this work.
Please run dmts after you finish renaming.

- Akira

Quoted 31 lines · On Sat, 12 Jul 2014 17:42:48 +0900 Satoru Takeuchi <[email protected]>…

Hi Akira, Joe, and all.

Recently I've used dm-writeboost a bit. I have an opinion about the naming of migration. Writeboost call writeback from cache device to backing device "migration" as Akira said in the following his document.

https://github.com/akiradeveloper/dm-writeboost/blob/develop/doc/writeboost.txt
===
...
(2) Migrate Daemon
This daemon writes back the dirty data on the cache device to the backing device. Writeboost calls writeback "Migration".
...
===

However, I consier "writeback" is far straightforward word than "migration" here for most people. Since such renaming makes the usability (migration is visible to user) and code readability, it should be avoided without special reason.

How about re-renaming "migration" to more straightforward "writeback"? If you agree with this idea, I'll write a patch to fix it for kernel and device-mapper-test-suite.

Thanks,
Satoru

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel