[Ocfs2-devel] [PATCH 7/8] ocfs2: Add extended attributes support. v1

Tiger Yang tiger.yang at oracle.com
Fri Jun 27 00:49:45 PDT 2008


Hi, Mark,

Mark Fasheh wrote:
> Hmm, some comments describing this function would be helpfull. In
> particular, I'd like to know how failure in the middle of an operation is
> handled. Say you're expanding the ea because the user asked to store a
> larger size, but you hit a problem shortly after growing it. What happens?

I split setting long value operation into two parts. First insert tree 
root in local, if succeed then insert long value into B tree based on 
that tree root. If hit problem in second step, we could only get that 
junk tree root. This is harmless for system. but is it acceptable?

I have an idea to fix this problem by reduce the entry count when second 
step hit problem. Do we have to do this?

All other issues fixed in the second version patches.

thanks and regards,
tiger



More information about the Ocfs2-devel mailing list