* Re: [patch][rfc] fs: move bdev code out of buffer.c
[not found] <20090225094419.GF22785@wotan.suse.de>
@ 2009-02-25 10:35 ` Jeff Garzik
2009-02-25 10:53 ` Nick Piggin
2009-02-25 15:48 ` Al Viro
0 siblings, 2 replies; 4+ messages in thread
From: Jeff Garzik @ 2009-02-25 10:35 UTC (permalink / raw)
To: Nick Piggin; +Cc: linux-fsdevel, LKML, Jens Axboe
Nick Piggin wrote:
> Move some block device related code out from buffer.c and put it in
> block_dev.c. I'm trying to move non-buffer_head code out of buffer.c
>
> Is this OK?
>
> ---
> fs/block_dev.c | 146 ++++++++++++++++++++++++++++++++++++++++++++
> fs/buffer.c | 145 -------------------------------------------
> include/linux/buffer_head.h | 7 --
> include/linux/fs.h | 7 ++
> 4 files changed, 153 insertions(+), 152 deletions(-)
If you are going to churn all this old code, maybe the blkdev stuff
better belongs in block/ dir?
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch][rfc] fs: move bdev code out of buffer.c
2009-02-25 10:35 ` [patch][rfc] fs: move bdev code out of buffer.c Jeff Garzik
@ 2009-02-25 10:53 ` Nick Piggin
2009-02-25 15:48 ` Al Viro
2009-02-25 15:48 ` Al Viro
1 sibling, 1 reply; 4+ messages in thread
From: Nick Piggin @ 2009-02-25 10:53 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-fsdevel, LKML, Jens Axboe
On Wed, Feb 25, 2009 at 05:35:43AM -0500, Jeff Garzik wrote:
> Nick Piggin wrote:
> >Move some block device related code out from buffer.c and put it in
> >block_dev.c. I'm trying to move non-buffer_head code out of buffer.c
> >
> >Is this OK?
> >
> >---
> > fs/block_dev.c | 146
> > ++++++++++++++++++++++++++++++++++++++++++++
> > fs/buffer.c | 145
> > -------------------------------------------
> > include/linux/buffer_head.h | 7 --
> > include/linux/fs.h | 7 ++
> > 4 files changed, 153 insertions(+), 152 deletions(-)
>
> If you are going to churn all this old code, maybe the blkdev stuff
> better belongs in block/ dir?
If you have a look at it, it's all dealing with buffercache and
filesystem metadata I think. So I think fs/block_dev.c is the
right place for it.
block/ shouldn't know about filesystems or pagecache.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch][rfc] fs: move bdev code out of buffer.c
2009-02-25 10:35 ` [patch][rfc] fs: move bdev code out of buffer.c Jeff Garzik
2009-02-25 10:53 ` Nick Piggin
@ 2009-02-25 15:48 ` Al Viro
1 sibling, 0 replies; 4+ messages in thread
From: Al Viro @ 2009-02-25 15:48 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Nick Piggin, linux-fsdevel, LKML, Jens Axboe
On Wed, Feb 25, 2009 at 05:35:43AM -0500, Jeff Garzik wrote:
> Nick Piggin wrote:
>> Move some block device related code out from buffer.c and put it in
>> block_dev.c. I'm trying to move non-buffer_head code out of buffer.c
>>
>> Is this OK?
>>
>> ---
>> fs/block_dev.c | 146 ++++++++++++++++++++++++++++++++++++++++++++
>> fs/buffer.c | 145 -------------------------------------------
>> include/linux/buffer_head.h | 7 --
>> include/linux/fs.h | 7 ++
>> 4 files changed, 153 insertions(+), 152 deletions(-)
>
> If you are going to churn all this old code, maybe the blkdev stuff better
> belongs in block/ dir?
Some of it... BTW, so does fs/partitions/* stuff. I'll resurrect the
patch taking that crap over to block/*.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch][rfc] fs: move bdev code out of buffer.c
2009-02-25 10:53 ` Nick Piggin
@ 2009-02-25 15:48 ` Al Viro
0 siblings, 0 replies; 4+ messages in thread
From: Al Viro @ 2009-02-25 15:48 UTC (permalink / raw)
To: Nick Piggin; +Cc: Jeff Garzik, linux-fsdevel, LKML, Jens Axboe
On Wed, Feb 25, 2009 at 11:53:38AM +0100, Nick Piggin wrote:
> If you have a look at it, it's all dealing with buffercache and
> filesystem metadata I think. So I think fs/block_dev.c is the
> right place for it.
There are bits of fs/block_dev.c that belong in block/*; not all of
it, though.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-25 15:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20090225094419.GF22785@wotan.suse.de>
2009-02-25 10:35 ` [patch][rfc] fs: move bdev code out of buffer.c Jeff Garzik
2009-02-25 10:53 ` Nick Piggin
2009-02-25 15:48 ` Al Viro
2009-02-25 15:48 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).