Whamcloud - gitweb
LU-2099 osd: clear iobuf up on I/O completion
authorJinshan Xiong <jinshan.xiong@intel.com>
Tue, 13 May 2014 16:36:04 +0000 (09:36 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 14 May 2014 16:32:20 +0000 (12:32 -0400)
commita1b3dce8a784893597faf8e1f08497e9e5a6e59d
tree1a8e0e0a7768cb4c64d439b3857fc7d0d28980dc
parentb85caeea3504a6b73ce6625f8cfba2d0a6bf48c1
LU-2099 osd: clear iobuf up on I/O completion

it was a bad idea to clear iobuf on buffer release because the
same buffers can be used few times in case of transient ENOSPC.

Change-Id: Ic1d2ddaa0794f2f6f7d1ba71620e06b4ea7a99d2
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c