Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Menny Hamburger <Menny_Hamburger@Dell.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: BLKDISCARD and AIO
Date: Wed, 23 Oct 2013 04:42:30 -0400	[thread overview]
Message-ID: <yq1r4bcfkeh.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <201310221413.r9MEDQpK002617@bldi04p.dell-idc.com> (Menny Hamburger's message of "Tue, 22 Oct 2013 17:13:26 +0300")

>>>>> "Menny" == Menny Hamburger <Menny_Hamburger@Dell.com> writes:

Menny> I have a question regarding the use of BLKDISCARD ioctl in
Menny> userland code: Is there currently a way to hook up with an
Menny> asyncronous event that can be polled by userland when the
Menny> operation completes? 

Not at this time, no.

However, you can fork a child process to execute the ioctl and wait for
that to complete.

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2013-10-23  8:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22 14:13 BLKDISCARD and AIO Menny Hamburger
2013-10-23  8:42 ` Martin K. Petersen [this message]
2013-10-23  9:21   ` Menny_Hamburger

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=yq1r4bcfkeh.fsf@sermon.lab.mkp.net \
    --to=martin.petersen@oracle.com \
    --cc=Menny_Hamburger@Dell.com \
    --cc=linux-scsi@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox