⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ideas

📁 create raid tool at linux
💻
字号:
On Speeding up RAID5 ReconfigurationPass 1:if we're adding disks	for each new disk		for each block			if it's not a parity block				convert it to a global block # & wish for itPass 2:for each block not yet wished for	wish for itIn general:	The routine that attempts to find a large contiguous read for each disk needs work.  When adding wished-for blocks, we need a way to determineif block N-1 or N+1 is already present.  A bit-map could work for this.Later, when we're looking for the largest contiguous stretch, we need thelengths of each run.  Again, using a bit-map, a single pass through the mapcould give us the beginning block # and length.  Sorting that, we just stepthrough the resulting array, reading/writing the runs.  We also need to clearthe bits as they're processed, in preperation for the next pass.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -