Whamcloud - gitweb
LU-1822 llite: Remove deprecated truncate handler
authormichael.mckay <michael_mckay@xyratex.com>
Tue, 4 Sep 2012 15:31:45 +0000 (11:31 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2012 20:15:42 +0000 (16:15 -0400)
commit4d65293e59a844518faaa0b56efb429a0d4612d5
tree703fea41a1ec4f487eb713925085a0635dfe98e0
parent241615b02062e93a96ffc180f53c22dced141fb6
LU-1822 llite:  Remove deprecated truncate handler

Remove the ll_truncate handler. This handler was only being used
to display a debug message about the truncated object. That line
was moved to a different location, and the handler removed.
This handler is an issue in kernels after 2.6.34 when running the
patchless client. In that version of the kernel the kernel will log a
kernel warning if its called and the inode has a handler for truncate.
The truncate logic was updated some time ago to be more
consistent with the new sequence of events.

Xyratex-bug-id: MRP-597
Reviewed-by: Alexander Zarochentsev <Alexander_Zarochentsev@xyratex.com>
Reviewed-by: Iurii Golovach <iurii_golovach@xyratex.com>
Signed-off-by: Michael McKay <michael_mckay@xyratex.com>
Change-Id: I77b372a2825fd2bdc4b215ee20a979f03dc7d64b
Reviewed-on: http://review.whamcloud.com/3860
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Reviewed-by: Iurii Golovach <iurii.golovach@gmail.com>
lustre/lclient/lcommon_cl.c
lustre/llite/file.c
lustre/llite/llite_capa.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/rw.c
lustre/llite/vvp_io.c
lustre/lov/lov_request.c