public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 1/9] exofs: Kbuild, Headers and osd utils
       [not found] ` <1238594963-9880-1-git-send-email-bharrosh@panasas.com>
@ 2009-04-02  1:13   ` Jeff Garzik
  2009-04-02  7:24     ` Boaz Harrosh
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2009-04-02  1:13 UTC (permalink / raw)
  To: Boaz Harrosh
  Cc: Andrew Morton, Randy Dunlap, Evgeniy Polyakov, Marcin Slusarz,
	Pavel Machek, linux-fsdevel, open-osd, Avishay Traeger,
	linux-scsi

Boaz Harrosh wrote:
> This patch includes osd infrastructure that will be used later by
> the file system.
> 
> Also the declarations of constants, on disk structures,
> and prototypes.
> 
> And the Kbuild+Kconfig files needed to build the exofs module.
> 
> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
> ---
>  fs/exofs/Kbuild   |   16 +++++
>  fs/exofs/Kconfig  |   13 ++++
>  fs/exofs/common.h |  184 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  fs/exofs/exofs.h  |  127 ++++++++++++++++++++++++++++++++++++
>  fs/exofs/osd.c    |  153 ++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 493 insertions(+), 0 deletions(-)
>  create mode 100644 fs/exofs/Kbuild
>  create mode 100644 fs/exofs/Kconfig
>  create mode 100644 fs/exofs/common.h
>  create mode 100644 fs/exofs/exofs.h
>  create mode 100644 fs/exofs/osd.c

After building "osdblk", a block driver using libosd, it is my opinion 
that all functions inside fs/exofs/osd.c should be moved to libosd.

I find myself copying most of that file, to use in osdblk.

	Jeff




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/9] exofs: Kbuild, Headers and osd utils
  2009-04-02  1:13   ` [PATCH 1/9] exofs: Kbuild, Headers and osd utils Jeff Garzik
@ 2009-04-02  7:24     ` Boaz Harrosh
  0 siblings, 0 replies; 2+ messages in thread
From: Boaz Harrosh @ 2009-04-02  7:24 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Andrew Morton, Randy Dunlap, Evgeniy Polyakov, Marcin Slusarz,
	Pavel Machek, linux-fsdevel, open-osd, Avishay Traeger,
	linux-scsi

On 04/02/2009 04:13 AM, Jeff Garzik wrote:
> Boaz Harrosh wrote:
>> This patch includes osd infrastructure that will be used later by
>> the file system.
>>
>> Also the declarations of constants, on disk structures,
>> and prototypes.
>>
>> And the Kbuild+Kconfig files needed to build the exofs module.
>>
>> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
>> ---
>>  fs/exofs/Kbuild   |   16 +++++
>>  fs/exofs/Kconfig  |   13 ++++
>>  fs/exofs/common.h |  184 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  fs/exofs/exofs.h  |  127 ++++++++++++++++++++++++++++++++++++
>>  fs/exofs/osd.c    |  153 ++++++++++++++++++++++++++++++++++++++++++++
>>  5 files changed, 493 insertions(+), 0 deletions(-)
>>  create mode 100644 fs/exofs/Kbuild
>>  create mode 100644 fs/exofs/Kconfig
>>  create mode 100644 fs/exofs/common.h
>>  create mode 100644 fs/exofs/exofs.h
>>  create mode 100644 fs/exofs/osd.c
> 
> After building "osdblk", a block driver using libosd, it is my opinion 
> that all functions inside fs/exofs/osd.c should be moved to libosd.
> 
> I find myself copying most of that file, to use in osdblk.
> 
> 	Jeff
> 

Yes I agree

I have such patches queued on my oo-devel branch that remove
half, and a plan to remove the second half in a more generic
manner.

The problem with those left is that they set policy like the
parameters in the call to osd_finalize_request, but it
might be better to just fold these into osd_execute_*

My long time plan was to implement at first the lowest level
only, then over time when repeated recipes arise add them.
I guess "later" as arrived.

Thanks
Boaz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-02  7:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <49D374A1.5010303@panasas.com>
     [not found] ` <1238594963-9880-1-git-send-email-bharrosh@panasas.com>
2009-04-02  1:13   ` [PATCH 1/9] exofs: Kbuild, Headers and osd utils Jeff Garzik
2009-04-02  7:24     ` Boaz Harrosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox