lkml.org 
[lkml]   [2001]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lingering loopback bugs?


On Sat, 3 Mar 2001, Jens Axboe wrote:

> On Sat, Mar 03 2001, agrawal@ais.org wrote:
> >
> > I have an encrypted filesystem mounted over loopback that I created under
> > a 2.2.16 kernel. (Using AES, 128 bit key.) Works fine in 2.2.16. Sort of
> > works under the unpatched 2.4 series. (Mounts okay, but hangs the system
> > on random blocks.)
> >
> > Under various 2.4 kernels with Jens' patched, the filesystem fails to
> > mount. I've tried 2.4.2-loop6, 2.4.2-ac6, and 2.4.2-ac8. All give the same
> > result.
>
> 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?
Cheers,
Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.078 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site