Re: [PATCH 18/32] ext4: retry storing value in external inode with xattr block too

From: Theodore Ts'o
Date: Wed Jun 21 2017 - 22:22:21 EST


On Wed, Jun 21, 2017 at 02:21:28PM -0700, Tahsin Erdogan wrote:
> When value size is <= EXT4_XATTR_MIN_LARGE_EA_SIZE(), and it
> doesn't fit in either inline or xattr block, a second try is made to
> store it in an external inode while storing the entry itself in inline
> area. There should also be an attempt to store the entry in xattr block.
>
> This patch adds a retry loop to do that. It also makes the caller the
> sole decider on whether to store a value in an external inode.
>
> Signed-off-by: Tahsin Erdogan <tahsin@xxxxxxxxxx>

Thanks, added to the ext4 patch queue.

- Ted