public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Alexander Viro <viro@math.psu.edu>
Cc: agrawal@ais.org, linux-kernel@vger.kernel.org
Subject: Re: lingering loopback bugs?
Date: Sat, 3 Mar 2001 20:50:36 +0100	[thread overview]
Message-ID: <20010303205036.N2528@suse.de> (raw)
In-Reply-To: <20010303202458.L2528@suse.de> <Pine.GSO.4.21.0103031438520.19484-100000@weyl.math.psu.edu>
In-Reply-To: <Pine.GSO.4.21.0103031438520.19484-100000@weyl.math.psu.edu>; from viro@math.psu.edu on Sat, Mar 03, 2001 at 02:41:57PM -0500

On Sat, Mar 03 2001, Alexander Viro wrote:
> > Look for the patch I posted yesterday (hint: just remove these two
> > lines from loop_end_io_transfer)
> > 
> >                if (atomic_dec_and_test(&lo->lo_pending))
> >                        up(&lo->lo_bh_mutex);
> 
> Uhh... And what will compensate for atomic_inc() in loop_make_request() in
> case of loop over block device?

There is no atomic_inc() in loop_make_request, I moved it to
count pending bh on the queue only. But hmm, we should not
be able to remove it while it has bhs in flight. Ok, I'll
rearrange this a bit again...

-- 
Jens Axboe


  reply	other threads:[~2001-03-03 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-02 23:21 Linux 2.4.2ac10 Alan Cox
2001-03-03 20:16 ` lingering loopback bugs? agrawal
2001-03-03 19:24   ` Jens Axboe
2001-03-03 19:41     ` Alexander Viro
2001-03-03 19:50       ` Jens Axboe [this message]
2001-03-03 20:13         ` Alexander Viro
2001-03-03 19:33   ` Jens Axboe

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=20010303205036.N2528@suse.de \
    --to=axboe@suse.de \
    --cc=agrawal@ais.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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