diff --git a/[refs] b/[refs] index fb1e85a828e5..e58def4eea76 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4575c9cceeca2f51c50536850e15e1dc5187f3d9 +refs/heads/master: ad5bd91ecee2b687071da00094564fd075f934ee diff --git a/trunk/fs/btrfs/volumes.c b/trunk/fs/btrfs/volumes.c index fe5b00986d22..4fc92cf813d8 100644 --- a/trunk/fs/btrfs/volumes.c +++ b/trunk/fs/btrfs/volumes.c @@ -746,6 +746,9 @@ int btrfs_alloc_chunk(struct btrfs_trans_handle *trans, else min_free = calc_size; + /* we add 1MB because we never use the first 1MB of the device */ + min_free += 1024 * 1024; + /* build a private list of devices we will allocate from */ while(index < num_stripes) { device = list_entry(cur, struct btrfs_device, dev_list);