Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* New ioctl API pushed out
@ 2009-01-16 17:38 Chris Mason
  0 siblings, 0 replies; only message in thread
From: Chris Mason @ 2009-01-16 17:38 UTC (permalink / raw)
  To: linux-btrfs

Hello everyone,

I had said that a revision of the ioctl API wouldn't be required and
that I'd maintain compatibility even for my simple ioctl calls now.

But, Ryusuke Konishi noticed that I didn't align the ioctl argument
properly and that it was actually different sizes on 32 bit and 64 bit
compiles.

In general, the kernel has a compat ioctl facility to deal with this,
letting us use different code to deal with a 32 bit executable run on 64
bit machines.

But, it is a lot of cruft to carry around for a structure that is 1 byte
off.  I think it is better for the project if I just change the arg now
and release v0.18 of btrfs-progs

I've asked Linus to pull these ioctl changes, and so v2.6.29-rc2 will
require v0.18 of btrfs-progs for the ioctl commands.

The disk format has not changed.  Any filesystems created by v0.17 and
2.6.29-rc1 will still be usable.  The commands to scan devices, add,
remove and balance volumes use these ioctls.  You will need to update
your btrfs-progs if you plan on using those commands in 2.6.29-rc2

Sorry for the trouble on this one, I really should have caught this
simple error.

-chris



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-16 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 17:38 New ioctl API pushed out Chris Mason

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