2.6.38-rc2 oops's when rebalancing on different size drives (was Re: version)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/01/11 01:37, Helmut Hullen wrote:

> bio too big device sdc (256 > 240)
> bio too big device sdc (256 > 240)
> bio too big device sdc (256 > 240)
> bio too big device sdc (256 > 240)

Oh dear, those are errors from the block layer, looks like
btrfs is doing something wrong there.. :-(

> ------------[ cut here ]------------
> kernel BUG at fs/btrfs/volumes.c:2097!

It looks like btrfs isn't handling errors coming back from the
block layer - at that point it's just called btrfs_relocate_chunk()..

So my guess is that the rebalancing code is naive and assumes
the drives are the same size - but I can't quite follow what
the code above that BUG_ON() is doing to verify that..

Chris M. ?

cheers!
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux