From: Andy Lutomirski <luto@stanford.edu>
To: Ben Slusky <sluskyb@paranoiacs.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: loopback over reiserfs broken in 2.6.1-mm1
Date: Wed, 14 Jan 2004 10:25:45 -0800 [thread overview]
Message-ID: <400589A9.4080706@stanford.edu> (raw)
In-Reply-To: <20040114125503.GB4793@fukurou.paranoiacs.org>
Ben Slusky wrote:
> On Tue, 13 Jan 2004 22:43:27 -0800, Andy Lutomirski wrote:
>
>>Didn't help.
>>
>>I put in a few printk's -- it looks like the failure is in
>>set_blocksize, probably due to a bogus blocksize of 131072, coming from
>>'lo_blocksize = inode->i_blksize;'.
>
>
> Right... and this patch would have fixed it if ReiserFS' i_blksize were
> merely huge (on the order of 8192) instead of frickin' ludicrous (on the
> order of 131072).
>
> Under the circumstances I think this is the best fix then, it ought
> to revert loop_set_fd's behavior to what it's always been:
>
> --- drivers/block/loop.c.old 2004-01-11 13:05:05.000000000 -0500
> +++ drivers/block/loop.c 2004-01-14 07:49:24.795161024 -0500
> @@ -853,9 +853,7 @@
> blk_queue_merge_bvec(lo->lo_queue, q->merge_bvec_fn);
> }
>
> - error = set_blocksize(bdev, lo_blocksize);
> - if (error)
> - goto out_putf;
> + set_blocksize(bdev, lo_blocksize);
>
> kernel_thread(loop_thread, lo, CLONE_KERNEL);
> down(&lo->lo_sem);
>
Fixed. Thanks.
--Andy
prev parent reply other threads:[~2004-01-14 18:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-12 19:18 loopback over reiserfs broken in 2.6.1-mm1 Andy Lutomirski
2004-01-12 22:45 ` Oleg Drokin
2004-01-13 17:25 ` Andy Lutomirski
2004-01-13 19:48 ` Andy Lutomirski
[not found] ` <20040114034922.GA4793@fukurou.paranoiacs.org>
[not found] ` <4004E50F.8090306@myrealbox.com>
[not found] ` <20040114125503.GB4793@fukurou.paranoiacs.org>
2004-01-14 18:25 ` Andy Lutomirski [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=400589A9.4080706@stanford.edu \
--to=luto@stanford.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=sluskyb@paranoiacs.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 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.