From: Yan, Zheng Date: Tue, 16 Sep 2014 12:35:17 +0000 (+0800) Subject: ceph: include the initial ACL in create/mkdir/mknod MDS requests X-Git-Tag: omap-for-v3.19/prcm-cleanup~68^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ee94aa593abd03634bc3887b8e189840e42c12;p=pandora-kernel.git ceph: include the initial ACL in create/mkdir/mknod MDS requests Current code set new file/directory's initial ACL in a non-atomic manner. Client first sends request to MDS to create new file/directory, then set the initial ACL after the new file/directory is successfully created. The fix is include the initial ACL in create/mkdir/mknod MDS requests. So MDS can handle creating file/directory and setting the initial ACL in one request. Signed-off-by: Yan, Zheng Reviewed-by: Sage Weil --- Reading git-diff-tree failed