Re: kernel 3.17-rc3: task rsync:2524 blocked for more than 120 seconds

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

 



john terragon posted on Tue, 02 Sep 2014 08:12:36 +0200 as excerpted:

> I will definitely try the latest 3.14.x (never had any problem of this
> kind with it). And I'll look into the other possibilities you pointed
> out. However what I can tell you right now is this:
> 
> -the filesystem was "new". I've been bitten by this bug with 3.15 and
> 3.16 and I kept
>  trying to do the same thing (create the fs, rsync or cp the same
> stuff) to see if it
>  got better.

OK.  I had read your post as implying that the filesystem had been around 
since before 3.14, in which case the firmware shuffling could well have 
been a factor.  If it was a brand new filesystem, then likely not, as 
mkfs.btrfs tries to do a trim of the whole filesystem range before it 
sets up.

But that does remind me of one other possibility I had thought to mention 
and then forgot... that's even more likely now that it's known to be a 
new filesystem...

I don't recall the btrfs-progs version, but somewhere along the line one 
other thing of potential interest changed:

Mkfs.btrfs used to default to 4 KiB node/leaf sizes; now days it defaults 
to 16 KiB as that's far better for most usage.  I wonder if USB sticks 
are an exception...

Since this is set at mkfs time, trying a 3.14 series kernel with current 
mkfs.btrfs defaults shouldn't change things; if the 16 KiB nodesize is 
why it's slow, it should still be slow with the 3.14 series kernel.

Conversely, if this is the problem, specifically creating the filesystem 
with --nodeside 4k should fix it, and it should stay fixed regardless of 
what kernel you use with it, 3.14, 3.16, 3.17-rcX, shouldn't matter.

And that'd be a very useful thing to put on the wiki as well, should it 
be found to be the case.  So please test and post if it helps (and feel 
free to put it on the wiki too if it works)!  =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
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