Ming-Hung Tsai

Results 30 comments of Ming-Hung Tsai

Sure, but I'm concerning the backward compatibility since the patch changes the default way of random number generation. I might split the whole patch into three or more for easier...

One more question: To generate identical outputs on all the platforms, should we always use 64-bit GOLDEN_RATIO_PRIME?

Hi @axboe @sitsofe , You're right. I make a mistake. My previous commit dramatically decreases the buffer-filling performance of 32-bit builds. Here's the test result of 32-bit Linux builds. When...

Would you like to do it recently? If not, I could help on it these weeks.

Some ideas about getting the total number of mapped blocks of the bottom level trees: method1. (The simplest way) Use walk_mapping_tree() to walk every nodes of all the bottom level...

Reply to myself: Finally I choose method1 for its simplicity. I wrote another checker class for the mapping tree, which works like class mapping_tree_emitter: traverse the bottom-level trees individually, then...

Not yet. The ongoing Rust version has a significant performance improvement, which solves the trade-off between the execution time and precision.

I noticed that while I was doing the Rust version recently. You could send a PR if possible, or I'll fix it in conjunction with some recent update/bugfixes in the...

it's the limitation of the tool and dm-thin. Unlike fstrim, thin_trim performs discard from userland, and the dm-thin driver does not lock unused data blocks during the process. That's why...