xfs
[Top] [All Lists]

Re: xfs file system

To: Nathan Scott <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: xfs file system
From: Marcelo Tosatti <marcelo@xxxxxxxxxxxxxxxx>
Date: Mon, 6 Nov 2000 11:25:02 -0200 (BRST)
Cc: Kallol Biswas <kallol@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, Chaitanya Tumuluri <chait@xxxxxxx>
In-reply-to: <10011061043.ZM111283@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Mon, 6 Nov 2000, Nathan Scott wrote:

<snip>

> Its quite out of date, unfortunately, but could still be
> used as a very rough guide to items which remain to be
> done.  The last three items for example, I'm pretty sure
> noone is currently looking at.  Some of the other items
> listed as unassigned, are actually being pursued by SGI
> or external folk already.  The list is also no longer
> comprehensive - Steve has another version of this doc
> which has a number of additional items which need to be
> done, including O_SYNC, making XFS work with more recent
> gcc versions, and several other things.

Hi, 

One of the things which must done is kiobuf-aware block device drivers, as
listed on the TODO list.

In current XFS CVS tree, nothing except SCSI layer is aware. 

When the majority of the significant block drivers are kiobuf-aware, we
can change significant places in the VM code which currently are
buffer-head based to be kiobuf based.

Looking at latest XFS block layer, function ll_rw_kio:

    /*
     * Only support SCSI disk for now.
     *
     * ENOSYS to indicate caller
     * should try ll_rw_block()
     * for non-SCSI (e.g. IDE) disks.
     */
        if (!SCSI_DISK_MAJOR(MAJOR(dev))) {
        *error = -ENOSYS;
        goto end_io;
    }


I dont see any reason why we can't split the kiobuf request into buffer
heads and send via ll_rw_block here (brw_kiovec() can do that), making
compatibility issues transparent to ll_rw_kio callers.

Comments? 











<Prev in Thread] Current Thread [Next in Thread>