Re: [PATCH v2] btrfs: allocate raid type kobjects dynamically

2014-05-26 Thread David Sterba
This patch + the fix to add/remove links on the respective device operation seem to work with the previous test that used to catch the slab corruptions, so far so good. After this has been running fine for a few hours, I've tried to do a simple check # cd /sys/fs/btrfs # find . -type f -exec

Re: [PATCH v2] btrfs: allocate raid type kobjects dynamically

2014-05-26 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/26/14, 1:21 PM, David Sterba wrote: This patch + the fix to add/remove links on the respective device operation seem to work with the previous test that used to catch the slab corruptions, so far so good. After this has been running fine

[PATCH v2] btrfs: allocate raid type kobjects dynamically

2014-05-23 Thread Jeff Mahoney
We are currently allocating space_info objects in an array when we allocate space_info. When a user does something like: # btrfs balance start -mconvert=raid1 -dconvert=raid1 /mnt # btrfs balance start -mconvert=single -dconvert=single /mnt -f # btrfs balance start -mconvert=raid1 -dconvert=raid1