Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ZFS loop fix + ABD [upstream] breaks chromium bookmarks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Aug 16, 2015 9:58 pm    Post subject: ZFS loop fix + ABD [upstream] breaks chromium bookmarks Reply with quote

Hi,

a heads-up for ZFS and chromium users

Since upgrading from 4.1.4 based kernel with CFS to

4.1.5 based kernel - Chromium's bookmark-handling is broken:


After adding entries to the bookmarks or importing the (previously) back-uped boomarks,

when closing and restarting chromium the bookmarks are not being displayed (empty - like a clean state),

but the Bookmarks and Bookmarks.bak files are existent.


I tried several steps, also rolled back the snapshot of .config and compiled chromium with a different compiler (4.9 instead of 5.2) and pre-set CFLAGS,

re-importing the previously exported Bookmarks

but to no avail.


Going back to the 4.1.4 based kernel (with BFS) made it work again (some modifications and restart of chromium tested).


*knock on wood*.




Disclaimer: this could be due to the modifications that I added to the kernel but since the only changes for that kernel upgrade are the upstream changes

from 4.1.4 to 4.1.5 it can't be ruled out that there's an upstream issue for the current stable tree ...


edit:

This also happens when upgrading the mentioned kernel from 4.1.4 to 4.1.5 with BFS - so it most likely is the kernel

edit2:

I first suspected the kernel being at fault - but it seemed to be caused by a not-merged-yet upstream patch for ZFS (under review),

which fixes handling of loop devices

that causes this

edit3:


ABD(2) branch + loop_fix causes this

edit4:

There's an updated "bleeding edge" branch by tuxoko that includes the loop_fix :

https://github.com/tuxoko/zfs/tree/abd_loop_fix
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D


Last edited by kernelOfTruth on Thu Aug 27, 2015 1:32 pm; edited 2 times in total
Back to top
View user's profile Send private message
StifflerStealth
l33t
l33t


Joined: 03 Jul 2002
Posts: 968

PostPosted: Thu Aug 27, 2015 10:42 am    Post subject: Reply with quote

Hi,

Thanks for your investigation. So, if one uses the normal master repository of ZFS with the newer kernel, it's okay? I heard that CK patches can have adverse affects on ZFS so I haven't used them since I started playing with ZFS.

Thanks.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Aug 27, 2015 1:31 pm    Post subject: Reply with quote

Hi StifflerStealth,

it should be fine, I haven't had any problems 4.1.6 and zfs-master (+ ABD),

so zfs-master alone (which I tested shortly a few days/weeks back) should be okay, too


Since 4.1 I'm using BFS again (well, CK patches are mostly BFS, the cpu scheduler, the other patches are minor changes) and haven't experienced any negative effects compared to using CFS (the default cpu scheduler),

the only thing is that BFS (ck) could push ZFS to reveal inherent issues related to races or stability - but since that hasn't occurred so far - it should be fine.

ZFS generally has a pretty high code quality and testing due to buildbots and stress-tests running regularly (also when introducing new patches)


Keep in mind when using 4.1 kernel + CK (or previous ones) to include the revert-unplugged.patch which fixes potential hardlocks that can (and will) occur during heavy i/o or cpu load,

BFS 464, e.g. is fine in this regard - since it already has it included
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum