[lkml]   [2001]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Loop encryption module locking bug (linux-2.4.5).
Ingo Rohloff writes:
> PS: Because I try to understand the inner workings of the loop
> device better, I have a question:
> In lo_send is a loop: "while (len>0)". How can I configure
> a loop device, so that this loop is executed more than once.
> It seems this is only possible if "bh->b_size" is greater
> than PAGE_CACHE_SIZE. Does this mean, you have to work on
> a filesystem which uses blocks of a size > PAGE_CACHE_SIZE,
> or is bh->b_size a fixed value (which is always less than

Currently, filesystems must have block size <= PAGE_CACHE_SIZE.
This may not be true in the future, so it is likely that the loop
code is "forward looking" to try to still work if the block size
can exceed the PAGE_CACHE_SIZE.

Cheers, Andreas
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?" -- Dogbert
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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