Re: [RFC] How to enable btrfs reserve block space from specific device?

2013-03-27 Thread Zhi Yong Wu
On Wed, Mar 27, 2013 at 7:34 PM, Ilya Dryomov wrote: > On Wed, Mar 27, 2013 at 09:45:59AM +0800, Zhi Yong Wu wrote: >> HI, >> >> When i work on btrfs hot relocation feature, i hit one question >> about block reservation. btrfs hot relocation need to reserve block >> space from specific devices

Re: [RFC] How to enable btrfs reserve block space from specific device?

2013-03-27 Thread Ilya Dryomov
On Wed, Mar 27, 2013 at 09:45:59AM +0800, Zhi Yong Wu wrote: > HI, > > When i work on btrfs hot relocation feature, i hit one question > about block reservation. btrfs hot relocation need to reserve block > space from specific devices such as SSD, but current btrfs reserving > code doesn't dif

[RFC] How to enable btrfs reserve block space from specific device?

2013-03-26 Thread Zhi Yong Wu
HI, When i work on btrfs hot relocation feature, i hit one question about block reservation. btrfs hot relocation need to reserve block space from specific devices such as SSD, but current btrfs reserving code doesn't differentiate if block space is reserved from SSD or HDD. In order to make b