Bug 43049 - samba problems with very high number of different xattr operations
samba problems with very high number of different xattr operations
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Kernel
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Kernel maintainers
:
Depends on: 41054 42983
Blocks: 42984
  Show dependency treegraph
 
Reported: 2016-11-25 10:32 CET by Tobias Birkefeld
Modified: 2017-09-26 07:27 CEST (History)
9 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.600
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2016091621002544, 2016111721000503
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
ext3 no_mbcache - UNTESTED! (5.05 KB, patch)
2016-11-25 16:54 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Birkefeld univentionstaff 2016-11-25 10:32:34 CET
We need a patch for ext3 filesystems too.


:~# mount -o remount,no_mbcache /home
mount: /home not mounted already, or bad option

:~# mount -o remount,no_mbcache /shares 
mount: /shares not mounted already, or bad option

:~# uname -a
Linux fs09k02v-01 3.10.0-ucs215-amd64 #1 SMP Debian 3.10.104-0.1.215.201611190157 (2016-11-19) x86_64 GNU/Linux

:~# mount
/dev/mapper/vg_ucs-rootfs on / type ext3 (rw,acl,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/xvda1 on /boot type ext3 (rw,acl)
/dev/mapper/vg_ucs-homefs on /home type ext3 (rw,acl,user_xattr)
/dev/mapper/vg_ucs-sharefs on /shares type ext3 (rw,acl,user_xattr)
/dev/mapper/vg_ucs-tmpfs on /tmp type ext3 (rw,acl)
/dev/mapper/vg_ucs-varfs on /var type ext3 (rw,acl)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)




+++ This bug was initially created as a clone of Bug #42983 +++

We need a backport vor 3.2-8 and 3.3

+++ This bug was initially created as a clone of Bug #41054 +++

UCS Version 4.1-1

Ticket#2015091521000246 #24: "NMI watchdog: BUG: soft lockup – CPU#0 stuck for 22s! [smbd:8822]"

https://bugzilla.kernel.org/show_bug.cgi?id=107301
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-11-25 10:49:12 CET
I would suggest to mount the ext2/ext3 partitions as ext4 filesystem.

Pro:
- no kernel patch
- faster filesystem (but not as fast as a native ext4)
- filesystem is still ext3 compatible
Cons:
- ...

see also e.g.
https://wiki.archlinux.org/index.php/ext4#Mounting_ext2.2Fext3_partitions_as_ext4_without_converting
Comment 2 Philipp Hahn univentionstaff 2016-11-25 16:53:12 CET
(In reply to Sönke Schwardt-Krummrich from comment #1)
> I would suggest to mount the ext2/ext3 partitions as ext4 filesystem.

+1: ext3 is unmaintained for a long time and finally was removed with linux-4.3: <http://article.gmane.org/gmane.linux.kernel/2031297>

So if you modify /etc/fstab to add "no_mbacache" anyway, you can also change "ext3" → "ext4".

Unless overruled with good arguments: WONTFIX
Comment 3 Philipp Hahn univentionstaff 2016-11-25 16:54:14 CET
Created attachment 8246 [details]
ext3 no_mbcache - UNTESTED!

Completely untested!
Comment 4 Stefan Gohmann univentionstaff 2017-09-26 07:26:50 CEST
3.2 is out of maintenance.
Comment 5 Stefan Gohmann univentionstaff 2017-09-26 07:27:09 CEST
Nothing to release.