在 2013年12月28日 上午8:13, <[email protected]> 写道: > Aron Xu <[email protected]> writes: > >> 在 Xen 的 domU 里,btrfs识别虚拟磁盘类型时会认为是SSD。 > > 这个判断是基于 > > # cat /sys/block/xvd{a,b,c,d,e}/queue/rotational > 0 > 0 > 0 > 0 > 0 > > 很奇怪,xen 把所有的硬盘都 expose 成 rotational=0 吗? > > blkfront: xvdb: flush diskcache: enabled; persistent grants: disabled; > indirect descriptors: disabled; > >> 这时会刻意将所有的写入操作分布在盘的不同位置,尽量让每个位置有接近的写 >> 入次数,以达到SSD的最大使用寿命。但是对于普通硬盘来说,显然是个挺大的坏 >> 事。。。 > > 嗯,有道理。 >
所以最后的结论就是 btrfs 把硬盘玩坏了么。。。 -- Best regards, 肖骐 Cheer Xiao -- --- 您收到此邮件是因为您订阅了 Google 网上论坛的“TUNA 主邮件列表”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
