All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Yufei Ren <renyufei83@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: [PATCH] rdma engine graceful teardown
Date: Thu, 15 Mar 2012 14:43:20 +0100	[thread overview]
Message-ID: <4F61F1F8.7080209@kernel.dk> (raw)
In-Reply-To: <CAG5pYQf466pFdb8dGwpQxqx64Tre+JgV-qh-emY+BT0dh3m8uA@mail.gmail.com>

On 03/13/2012 09:57 PM, Yufei Ren wrote:
> For rdma ioengine's one side operation, RDMA_WRITE or RDMA_READ,
> server side gets a message from client side that the task is finished.
> In previous version, the server simply exit() in td_io_commit() which
> causes segmentation fault in thread mode or process hanging in process
> mode. This patch achieves graceful tear down by setting up `td->done`
> as UDP engine did.

It's a bit of a hack, but if it improves the situation, I'm fine with
it. Applied, thanks.

-- 
Jens Axboe


      reply	other threads:[~2012-03-15 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 20:57 [PATCH] rdma engine graceful teardown Yufei Ren
2012-03-15 13:43 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F61F1F8.7080209@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=renyufei83@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.