Whamcloud - gitweb
LU-1221 ldiskfs: Replace sysname with nodename in MMP
authorNiu Yawei <niu@whamcloud.com>
Fri, 16 Mar 2012 03:22:59 +0000 (20:22 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Wed, 21 Mar 2012 07:58:02 +0000 (03:58 -0400)
commit6ce2817466e32d92ba6b823d219e05e54b309db5
treedbc7ef84492916ce1719910230a06b26af69af02
parentef8bd11416bae8c03a65682f3a10a4da39922b45
LU-1221 ldiskfs: Replace sysname with nodename in MMP

sysname holds "Linux" by default, i.e. what appears when
doing a "uname -s"; nodename should be used to print the
machine's hostname, i.e. what is returned when doing a
"uname -n" or "hostname", and what
gethostname(2)/sethostname(2) manipulate, in order to
notify the administrator of the node which is contending
to mount the filesystem.

Andreas says this was introduced when porting the MMP
patches from RHEL5 to RHEL6, and then also pushed upstream
to ext4; a patch for upstream ext4 has already been
submitted.

MRP-222
Signed-off-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: Ie5c8e99ae536c2239134140589d678d3a4f92639
Reviewed-on: http://review.whamcloud.com/2337
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
ldiskfs/kernel_patches/patches/ext4-mmp-rhel5.patch
ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch