blow are some codes in md_do_sync function of md.c in
linux-2.6.17.11-rc5/drivers/md
4774: int next = (last_mark+1) % SYNC_MARKS;
I have no idea why SYNC_MARKS is set 10. if set SYNC_MARKS to 8 or
16(the power of 2), we can replace the % operation to & operation
and this trick will accelerate the running of this code.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html