Commit 32c8728d authored by Committed by Greg Kroah-Hartman
staging/lustre/ptlrpc: reorganize ptlrpc_request
ptlrpc_request has some structure members are only for client side, and some others are only for server side, this patch moved these members to different structure then putting into an union. By doing this, size of ptlrpc_request is decreased about 300 bytes, besides saving memory, it also can reduce memory footprint while processing. Signed-off-by: Liang Zhen <firstname.lastname@example.org> Reviewed-on: http://review.whamcloud.com/8806 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-181Reviewed-by: Andreas Dilger <email@example.com> Reviewed-by: Bobi Jam <firstname.lastname@example.org> Signed-off-by: Oleg Drokin <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 255 additions and 189 deletions
This diff is collapsed.