Whamcloud - gitweb
LU-325 using preallocated objects if OST has enough disk space
authorhongchao.zhang <hongchao.zhang@whamcloud.com>
Fri, 12 Aug 2011 13:25:13 +0000 (21:25 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Aug 2011 14:54:36 +0000 (10:54 -0400)
commit9f3f665577797660984bc1b6cbd443111dceef49
treed9fe526a32251f00cbb5bc02175cf9243402d6db
parent2807ae2826aa10aca69beaa924f69093326f8351
LU-325 using preallocated objects if OST has enough disk space

during creating files, if ENOSPC is returned by one OST, the preallocated
objects in the corresponding OSC should still can be used if there is enough
blocks but no inode available in the OST.

Change-Id: I9d57461698d1c0fb3a492188fb4ce1519d65efc7
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1051
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/obdfilter/filter.c
lustre/osc/osc_create.c
lustre/osc/osc_internal.h
lustre/osc/osc_request.c
lustre/tests/sanity.sh