瀏覽代碼

ceph: do not ignore osd_idle_ttl mount option

Actually apply the mount option to the mount_args struct.

Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil 15 年之前
父節點
當前提交
e9d1774431
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      fs/ceph/super.c

+ 3 - 0
fs/ceph/super.c

@@ -548,6 +548,9 @@ static struct ceph_mount_args *parse_mount_args(int flags, char *options,
 		case Opt_osdkeepalivetimeout:
 		case Opt_osdkeepalivetimeout:
 			args->osd_keepalive_timeout = intval;
 			args->osd_keepalive_timeout = intval;
 			break;
 			break;
+		case Opt_osd_idle_ttl:
+			args->osd_idle_ttl = intval;
+			break;
 		case Opt_mount_timeout:
 		case Opt_mount_timeout:
 			args->mount_timeout = intval;
 			args->mount_timeout = intval;
 			break;
 			break;