[Btrfs-devel] [PATCH 1/2] small ea support for btrfs
Chris Mason
chris.mason at oracle.com
Tue Sep 11 17:19:30 PDT 2007
On Mon, 10 Sep 2007 09:36:43 -0400
Josef Bacik <jbacik at redhat.com> wrote:
> Hello,
>
> This patch adds small ea support for btrfs. This handles EA's that
> will fit inline in a dir item, so basically this works for SELinux
> and most everything else. I've tested it by doing random xattr stuff
> as well as turning SELinux on and doing a bunch of labeling stuff and
> making sure SELinux did what it was supposed to do. I've added the
> ACL stuff in here simply so it will compile, ACL support is by no
> means done, its just there and ready to be added, something I will do
> in the near future hopefully. I copied what ext3 does for the xattr
> handling stuff so it should be relatively easy to follow. I've also
> done the necessary work in order to make adding support for EA's that
> wont fit inline pretty easy, instead of bugging out when we try to
> insert a dir_item thats too large we return ENOSPC so I can handle it
> appropriately. Let me know what you think. Thank you,
>
I really like this so far, thanks for all your work. I'll hold off on
putting it into hg until the listattr stuff is in, but its great.
-chris
More information about the Btrfs-devel
mailing list