Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1391576

[RESEND PATCH]nbd: Fix might sleep warning.

From "Pranay Kr. Srivastava" <pranjas@gmail.com>
Newsgroups linux.kernel
Subject [RESEND PATCH]nbd: Fix might sleep warning.
Date 2016-04-30 08:20 +0200
Message-ID <rtwpX-2ZP-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


When an nbd request times out then the nbd_xmit_timeout
tries to close the socket by taking a spin_lock over the
socket. This however generates a warning on 
kernel_sock_shutdown. This patch fixes this issue.

Pranay Kr. Srivastava (1):
  fix might_sleep warning on socket shutdown

 drivers/block/nbd.c | 85 +++++++++++++++++++++++++++++++----------------------
 1 file changed, 50 insertions(+), 35 deletions(-)

-- 
2.6.2

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RESEND PATCH]nbd: Fix might sleep warning. "Pranay Kr. Srivastava" <pranjas@gmail.com> - 2016-04-30 08:20 +0200
  [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown "Pranay Kr. Srivastava" <pranjas@gmail.com> - 2016-04-30 08:30 +0200
    Re: [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown Pranay Srivastava <pranjas@gmail.com> - 2016-05-02 05:30 +0200
      Re: [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown Greg KH <gregkh@linuxfoundation.org> - 2016-05-03 03:00 +0200
        Re: [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown Pranay Srivastava <pranjas@gmail.com> - 2016-05-03 06:00 +0200

csiph-web