removed cwd "./" (refer to Bugzilla 14399).
* File join has been disabled in this release, refer to Bugzilla 16929.
+Severity : normal
+Frequency : rare
+Bugzilla : 18902
+Descriptoin: allow kill process which wait statahead result
+Details : for some reasons 'ls' can stick in waiting result from statahead,
+ in this case need way for kill this process.
+
Severity : enhancement
Bugzilla : 18798
Description: Add state history info file, enhance import info file
struct ll_inode_info *lli = ll_i2info(dir);
struct ll_statahead_info *sai = lli->lli_sai;
struct ll_sa_thread_args sta;
- struct l_wait_info lwi = { 0 };
- int rc;
+ struct l_wait_info lwi = LWI_INTR(LWI_ON_SIGNAL_NOOP, NULL);
+ int rc = 0;
ENTRY;
LASSERT(lli->lli_opendir_pid == cfs_curproc_pid());
/*
* thread started already, avoid double-stat.
*/
- l_wait_event(sai->sai_waitq,
- ll_sai_entry_stated(sai) || sa_is_stopped(sai),
- &lwi);
+ rc = l_wait_event(sai->sai_waitq,
+ ll_sai_entry_stated(sai) ||
+ sa_is_stopped(sai),
+ &lwi);
}
if (lookup) {
/*
* do nothing for revalidate.
*/
- RETURN(0);
+ RETURN(rc);
}
/*