xfs_da_grow_inode and xfs_dir2_grow_inode are mostly duplicate code. Factor the meat of those two functions into a new common helper. Signed-off-by: Christoph Hellwig <hch@xxxxxx> Index: xfs/fs/xfs/x
Hmmmm. I'm in the process of splitting xfs_dir2_grow_inode() into data space vs free space variants so I can play speculative preallocation tricks in the directory data space to reduce dataspace frag
Are you two variants still sharing the core code? If yes rebasing sounds like the better idea. If the two dir2 variants are different enough from the da variant I'm fine with postponing this one for
Sort of - there's an extra allocation failure case added (multiple directory block size allocation failure), but otherwise is the same. I'll rebase anyway - the code won't be ready for 3.1 because I