-
Jinshan Xiong authored
This patch will create MDT layout in the path of mdo_create() before mdt_object_open_lock() is invoked. The previous implementation created layout in mdt_create_data() that caused the problem that layout lock couldn't be packed in the reply of the open request. Later on an extra layout request has to be issued for layout lock, which kills all performance gains by DoM for small files write. Signed-off-by: Jinshan Xiong <jinshan.xiong@uber.com> Change-Id: Id11ac79c89d12bbe0e925fbc89417fca3e72e479 Reviewed-on: https://review.whamcloud.com/33233 Tested-by: Jenkins Reviewed-by: Mike Pershin <mpershin@whamcloud.com> Tested-by: Maloo <hpdd-maloo@intel.com> Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
d7073b8a