Bug 42984 - samba problems with very high number of different xattr operations
samba problems with very high number of different xattr operations
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Kernel
UCS 3.3
Other Linux
: P5 normal (vote)
: UCS 3.3-0-errata
Assigned To: Philipp Hahn
Arvid Requate
:
Depends on: 41054 42983 43049
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-17 16:36 CET by Jens Thorp-Hansen
Modified: 2016-11-25 10:32 CET (History)
6 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:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Thorp-Hansen univentionstaff 2016-11-17 16:36:40 CET
New Bug - same issue for 3.3

+++ 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 Stefan Gohmann univentionstaff 2016-11-17 16:39:21 CET
Philipp, is a backport for UCS 3.3-0-errata possible?
Comment 2 Philipp Hahn univentionstaff 2016-11-20 13:37:15 CET
r16894 | Bug #42984 linux: Backport no_mbcache

Package: linux
Version: 3.16.38-0.1~bpo70+1.214.201611182256
Branch: ucs_3.3-0
Scope: errata3.3-0

r74602 | Bug #42984 linux: Backport no_mbcache

Package: univention-kernel-image
Version: 7.100.0-10.117.201611201258
Branch: ucs_3.3-0
Scope: errata3.3-0

r74603 | Bug #42984 linux: Backport no_mbcache YAML
 linux.yaml
 univention-kernel-image.yaml
Comment 3 Arvid Requate univentionstaff 2016-11-21 16:01:42 CET
Build log shows that patch has not been applied because it was checked in as
3.3-0-0-ucs/3.16.7-ckt25-2+deb8u3~bpo70+1-errata3.3-0/73_ext4-mbcache.quilt
Comment 4 Philipp Hahn univentionstaff 2016-11-21 16:11:01 CET
r16896 | Bug #42984 linux: Backport no_mbcache
 Not
  linux/3.3-0-0-ucs/3.16.7-ckt25-2+deb8u3~bpo70+1-errata3.3-0/
 but
  linux/3.3-0-0-ucs/3.16.38-0.1+deb8u2~bpo70+1-errata3.3-0

Package: linux
Version: 3.16.38-0.1~bpo70+1~ucs3.3.216.201611211608
Branch: ucs_3.3-0
Scope: errata3.3-0
Comment 5 Philipp Hahn univentionstaff 2016-11-21 20:29:09 CET
r74653 | Bug #42984 linux: Backport no_mbcache

Package: univention-kernel-image
Version: 7.100.0-11.118.201611212026
Branch: ucs_3.3-0
Scope: errata3.3-0

r74654 | Bug #42984 linux: Backport no_mbcache YAML
 linux.yaml
 univention-kernel-image.yaml
Comment 6 Philipp Hahn univentionstaff 2016-11-22 09:11:33 CET
Package: linux
Version: 3.16.38-0.1~bpo70+1.216.201611212052
Branch: ucs_3.3-0-errata3.3-0
Scope: errata3.3-0

r74659 | Bug #42984 linux: Backport no_mbcache YAML

QA:
 uname -r # 3.16.0-ucs216-amd64
 apt-get install attr
 mount -o remount,user_xattr /
 tune2fs -l /dev/dm-0  | grep '^Block size:' # 4096
 tune2fs -l /dev/dm-0  | grep '^Inode size:' # 256
 touch /a /b /c /d
 setfattr -n user.short -v `python -c 'print "x"*16'` /a /b
 setfattr -n user.long -v `python -c 'print "x"*512'` /a /b

 PAGER=cat debugfs /dev/dm-0 -R 'stat /a'
 # File ACL: 6824444    Directory ACL: 0
 #  short = "xxxxxxxxxxxxxxxx" (16)

 PAGER=cat debugfs /dev/dm-0 -R 'stat /b'
 # File ACL: 6824444    Directory ACL: 0
Same block
 #  short = "xxxxxxxxxxxxxxxx" (16)

 setfattr -n user.short -v `python -c 'print "x"*16'` /c
 setfattr -n user.long -v `python -c 'print "x"*512'` /c
 PAGER=cat debugfs /dev/dm-0 -R 'stat /c'
 # File ACL: 6824444    Directory ACL: 0
Same block due to mbcache
 #  short = "xxxxxxxxxxxxxxxx" (16)

 mount -o remount,no_mbcache /
 setfattr -n user.short -v `python -c 'print "x"*16'` /d
 setfattr -n user.long -v `python -c 'print "x"*512'` /d
 PAGER=cat debugfs /dev/dm-0 -R 'stat /d'
 # File ACL: 6824445    Directory ACL: 0
New block since no_mbcache
 #  short = "xxxxxxxxxxxxxxxx" (16)
Comment 7 Arvid Requate univentionstaff 2016-11-22 17:13:44 CET
Verified:
* Patch matches UCS 4.1 and UCS 3.2 version
* Patch applied during built
* Package update & kernel reboot ok
* Dmesg ok
* remount with new option works
* Advisory ok