OSDN Git Service

NFS: make nfs_match_client killable
authorRoberto Bergantinos Corpas <rbergant@redhat.com>
Thu, 25 Apr 2019 13:36:51 +0000 (15:36 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 7 May 2019 14:38:14 +0000 (10:38 -0400)
commit950a578c6128c2886e295b9c7ecb0b6b22fcc92b
tree3fae267fb97c6507a0dc85f66387d57ced5e06de
parentb422df915cef80333d7a1732e6ed81f41db12b79
NFS: make nfs_match_client killable

    Actually we don't do anything with return value from
    nfs_wait_client_init_complete in nfs_match_client, as a
    consequence if we get a fatal signal and client is not
    fully initialised, we'll loop to "again" label

    This has been proven to cause soft lockups on some scenarios
    (no-carrier but configured network interfaces)

Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/client.c