lkml.org 
[lkml]   [2019]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectStall during read() on CIFS with 4.19
From
Date
Hi,

with the upgrade to 4.19 in Debian sid, I experienced a regression with CIFS
filesystems.

The server is running Debian stretch with samba, the clients are running
Debian sid or stretch. With 4.18 kernels everything is fine, but with 4.19
while the mount succeeds, any read() syscall on a file open()ed from a share
just stalls.

I've tried to bisect between 4.18 and 4.19 and here are the results:

# bad: [84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d] Linux 4.19
# good: [94710cac0ef4ee177a63b5227664b38c95bbf703] Linux 4.18
git bisect start 'v4.19' 'v4.18'
# bad: [db06f826ec12bf0701ea7fc0a3c0aa00b84417c8] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
git bisect bad db06f826ec12bf0701ea7fc0a3c0aa00b84417c8
# bad: [0a957467c5fd46142bc9c52758ffc552d4c5e2f7] x86: i8259: Add missing include file
git bisect bad 0a957467c5fd46142bc9c52758ffc552d4c5e2f7
# bad: [958f338e96f874a0d29442396d6adf9c1e17aa2d] Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad 958f338e96f874a0d29442396d6adf9c1e17aa2d
# good: [85a0b791bc17f7a49280b33e2905d109c062a47b] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
git bisect good 85a0b791bc17f7a49280b33e2905d109c062a47b
# good: [a1a4f841ec4585185c0e75bfae43a18b282dd316] Merge tag 'for-4.19-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
git bisect good a1a4f841ec4585185c0e75bfae43a18b282dd316
# good: [0e93d3f43ec7d3308bff25ce1be81d46330168c9] xfs: repair the AGFL
git bisect good 0e93d3f43ec7d3308bff25ce1be81d46330168c9
# bad: [10f3e23f07cb0c20f9bcb77a5b5a7eb2a1b2a2fe] Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
git bisect bad 10f3e23f07cb0c20f9bcb77a5b5a7eb2a1b2a2fe
# bad: [c1777df1a5d541cda918ff0450c8adcc8b69c2fd] cifs: add missing support for ACLs in SMB 3.11
git bisect bad c1777df1a5d541cda918ff0450c8adcc8b69c2fd
# good: [bf1fdeb7899a86adfbe0b521bee5cf78bb870a14] smb3: add reconnect tracepoints
git bisect good bf1fdeb7899a86adfbe0b521bee5cf78bb870a14
# good: [d258650004617fbd5dfe97d77d26fb37187d06e9] smb3: fix minor debug output for CONFIG_CIFS_STATS
git bisect good d258650004617fbd5dfe97d77d26fb37187d06e9
# good: [296ecbae7fdf209b1e0fb08b8bd82e5e9b637439] cifs: add SMB2_query_info_[init|free]()
git bisect good 296ecbae7fdf209b1e0fb08b8bd82e5e9b637439
# bad: [b24df3e30cbf48255db866720fb71f14bf9d2f39] cifs: update receive_encrypted_standard to handle compounded responses
git bisect bad b24df3e30cbf48255db866720fb71f14bf9d2f39
# bad: [1eb9fb52040fc6e5656c277b562229f09467c9f8] cifs: create SMB2_open_init()/SMB2_open_free() helpers.
git bisect bad 1eb9fb52040fc6e5656c277b562229f09467c9f8
# first bad commit: [1eb9fb52040fc6e5656c277b562229f09467c9f8] cifs: create SMB2_open_init()/SMB2_open_free() helpers.

I'm a bit surprised since I'd assume introducing helpers would not change
anything feature-wise, but I didn't dig into the code (I don't know a lot
about cifs). Unfortunately I can't easily revert 1eb9fb52040f on top of 4.19
so I prefer reporting it first.

If you need more information or want me to experiment something, feel free to
ask.

Regards,
--
Yves-Alexis

\
 
 \ /
  Last update: 2019-01-01 13:34    [W:0.035 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site