[PATCH v3] btrfs: Add test that checks rmdir(2) can delete a subvolume

2018-06-12 Thread Misono Tomohiro
Add btrfs test that checks "rmdir" or "rm -r" command can delete a subvolume like an ordinary directory. This behavior has been restricted long time but becomes allowed by following commit in the kernel: btrfs: Allow rmdir(2) to delete an empty subvolume The test will be skipped if kernel does

Re: [PATCH] generic: add test for fsync of directory after creating hard link

2018-06-12 Thread Eryu Guan
On Mon, Jun 11, 2018 at 07:24:35PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Test that if we create a new hard link for a file which was previously > fsync'ed, fsync a parent directory of the new hard link and power fail, > the parent directory exists after mounting the filesyst

deadlock on btrfs scrub...

2018-06-12 Thread Alexander Zapatka
hello. a while ago i wrote to the list that i was getting a deadlock when working with a btrfs file system on a drive that had a bad sector. i finally resolved the bad sector, smartctl says there are no bad sectors, and it has been successfully remapped. after it had been resolved i still am get