Whamcloud - gitweb
LU-4474 osd: Add nodelalloc to ldiskfs mount options 81/21181/6
authorArtem Blagodarenko <artem.blagodarenko@seagate.com>
Thu, 7 Jul 2016 11:27:11 +0000 (14:27 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 29 Sep 2016 14:59:28 +0000 (14:59 +0000)
commit7597c672850e7e9232f7400170455fd12aa08b8a
tree9a33e3434ff8c5e9de078d35a7008fcebcffa4a3
parent091739b8daf2b8e0da8603e15141f7548a90e316
LU-4474 osd: Add nodelalloc to ldiskfs mount options

If vfs_mount failed mount, process hangs during osd_mount cleanup.
Mutex sb->s_umount cause of this hang. During cleanup
ldiskfs_quota_off() is executed and if delalloc option is set,
then sync_filesystem executed, but only after taking of s_umount
mutex. We can't exlude this mutex here or move to another place,
because there are some code pathes there ldiskfs_quota_off
executed without s_umount mutex.

This patch disable the delalloc option.

Signed-off-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Seagate-bug-id: MRP-3225
Change-Id: Ib68d1c424f4a99eb7df5c373e9775aeafe8505b4
Reviewed-on: http://review.whamcloud.com/21181
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-ldiskfs/osd_handler.c