Re: Btrfs for mainline

From: Chris Mason
Date: Mon Jan 05 2009 - 09:02:38 EST


On Sun, 2009-01-04 at 22:52 +0100, Arnd Bergmann wrote:
> On Saturday 03 January 2009, Chris Mason wrote:
> >
> > > Actually a lot of the ioctl API don't just need documentation but
> > > a complete redo. That's true at least for the physical device
> > > management and subvolume / snaphot ones.
> > >
> >
> > The ioctl interface is definitely not finalized. Adding more vs
> > replacing the existing ones is an open question.
>
> As long as that's an open question, the ioctl interface shouldn't get
> merged into the kernel, or should get in as btrfsdev, otherwise you
> get stuck with the current ABI forever.
>

Maintaining the current ioctls isn't a problem. There aren't very many
and they do very discrete things. The big part that may change is the
device scanning, which may get more integrated into udev and mount (see
other threads about this).

But, that is one very simple ioctl, and most of the code it uses is
going to stay regardless of how the device scanning is done.

-chris


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/