Re: [PATCH v2 02/12] staging/lustre/llog: MGC to use OSD API for backup logs

2013-11-26 Thread Levente Kurusa
Hi, just a few comments, mostly code style. 2013-11-26 16:04, Peng Tao: > @@ -1011,23 +1083,17 @@ int mgc_set_info_async(const struct lu_env *env, > struct obd_export *exp, > } > if (KEY_IS(KEY_SET_FS)) { > struct super_block *sb = (struct super_block *)val; > -

[PATCH v2 02/12] staging/lustre/llog: MGC to use OSD API for backup logs

2013-11-26 Thread Peng Tao
From: Mikhail Pershin MGC uses lvfs API to access local llogs blocking removal of old code - MGS is converted to use OSD API for local llogs - llog_is_empty() and llog_backup() are introduced - initial OSD start initialize run ctxt so llog can use it too - shrink dcache after initial scrub in os