Re: BUG: scheduling while atomic

2018-08-10 Thread James Courtier-Dutton
On 6 August 2018 at 07:26, Qu Wenruo wrote: > > >> WARNING: CPU: 3 PID: 803 at >> /build/linux-hwe-SYRsgd/linux-hwe-4.15.0/fs/btrfs/extent_map.c:77 >> free_extent_map+0x78/0x90 [btrfs] > > Then it makes sense, as it's a WARN_ON() line, showing one extent map is > still used. > > If it get freed,

BUG: scheduling while atomic

2018-08-05 Thread James Courtier-Dutton
I am seeing a server halt and require a manual restart that I think might be related to btrfs. I attach the kernel log from it, in the hope that someone will understand it better than me. Any clues? https://paste.fedoraproject.org/paste/xSblK1RKANiwhKHQj31Cdw Kind Regards James -- To

How to zero errors

2018-04-10 Thread James Courtier-Dutton
Hi, I have disk that in the past had errors on it. I have fixed up the errors. btrfs scrub now reports no errors. How do I reset these counters to zero? BTRFS info (device sdc2): bdev /dev/sdc2 errs: wr 0, rd 35, flush 0, corrupt 1, gen 0 Kind Regards James -- To unsubscribe from this list:

Re: btrfs balance problems

2018-01-06 Thread James Courtier-Dutton
On 28 December 2017 at 00:39, Duncan <1i5t5.dun...@cox.net> wrote: > > AFAIK, ionice only works for some IO schedulers, not all. It does work > with the default CFQ scheduler, but I don't /believe/ it works with > deadline, certainly not with noop, and I'd /guess/ it doesn't work with >

Re: btrfs balance problems

2017-12-27 Thread James Courtier-Dutton
applications? > > On 23 December 2017 at 11:56, Alberto Bursi <alberto.bu...@outlook.it> wrote: >> >> >> On 12/23/2017 12:19 PM, James Courtier-Dutton wrote: >>> Hi, >>> >>> During a btrfs balance, the process hogs all CPU. >>> Or

btrfs balance problems

2017-12-23 Thread James Courtier-Dutton
Hi, During a btrfs balance, the process hogs all CPU. Or, to be exact, any other program that wishes to use the SSD during a btrfs balance is blocked for long periods. Long periods being more than 5 seconds. Is there any way to multiplex SSD access while btrfs balance is operating, so that other

Re: [PATCH] Btrfs: do not mount when we have a sectorsize larger than PAGE_SIZE

2012-04-04 Thread James Courtier-Dutton
On 3 April 2012 02:15, Liu Bo liubo2...@cn.fujitsu.com wrote: On 04/02/2012 08:17 PM, David Sterba wrote: On Mon, Apr 02, 2012 at 07:28:18PM +0800, Liu Bo wrote: --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -2104,6 +2104,14 @@ int open_ctree(struct super_block *sb,              err =

btrfs and backups

2012-03-26 Thread James Courtier-Dutton
Hi, I have a local btrfs file system with various sub-volumes that have had snapshots done on them. Is there some tool like rsync that I could copy all the data and snapshots to a backup system, but still only use the same amount of space as the source filesystem. I see a problem being getting a