Reproduced with mason's for-linus-4.6 branch also.
2016-03-29 12:47 GMT-07:00 Yauhen Kharuzhy <yauhen.kharu...@zavadatar.com>: > On Tue, Mar 29, 2016 at 10:41:36PM +0800, Anand Jain wrote: >> >> Hi Yauhen, >> > >> > >> >Issue 2. >> >At start of autoreplacig drive by hotspare, kernel craches in transaction >> >handling code (inside of btrfs_commit_transaction() called by autoreplace >> >initiating >> >routines). I 'fixed' this by removing of closing of bdev in >> >btrfs_close_one_device_dont_free(), see >> >https://bitbucket.org/jekhor/linux-btrfs/commits/dfa441c9ec7b3833f6a5e4d0b6f8c678faea29bb?at=master >> >(oops text is attached also). Bdev is closed after replacing by >> >btrfs_dev_replace_finishing(), so this is safe but doesn't seem >> >to be right way. >> >> I have sent out V2. I don't see that issue with this, >> could you pls try ? > > Yes, it reproduced on v4.4.5 kernel. I will try with current > 'for-linus-4.6' Chris' tree soon. > > To emulate a drive failure, I disconnect the drive in VirtualBox, so bdev > can be freed by kernel after releasing of all references to it. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html