Whamcloud - gitweb
LU-2634 ldiskfs: clear extent flag for fast symlink
authorEmoly Liu <emoly.liu@intel.com>
Mon, 18 Feb 2013 10:17:50 +0000 (18:17 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Feb 2013 04:27:27 +0000 (23:27 -0500)
commit18d4da9bdb79d87567e19a2fed27b6b886e76434
tree8423979ec1a2c56650f536b4bea64380e8b34079
parent114383d47e276b35ad58a3cd2480a383858bb7fb
LU-2634 ldiskfs: clear extent flag for fast symlink

Fast symlinks on MDT filesystems formatted with the "extents" feature
are created with EXT4_EXTENTS_FL. e2fsck considers this a corruption
and deletes the symlink.

The patch is to clear extent flag in osd_ldiskfs_writelink() just as
ext4_symlink() does.

Signed-off-by: Liu Ying <emoly.liu@intel.com>
Change-Id: Ic0c711cc82de140f86baa71bacd1721fd4a19e07
Reviewed-on: http://review.whamcloud.com/5458
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/tests/conf-sanity.sh