i=alex.zhuravlev
i=vitaly.fertman
*fcc = oa->o_lcookie;
}
if (ia_valid & (ATTR_SIZE | ATTR_UID | ATTR_GID)) {
*fcc = oa->o_lcookie;
}
if (ia_valid & (ATTR_SIZE | ATTR_UID | ATTR_GID)) {
+ unsigned long now = jiffies;
DQUOT_INIT(inode);
/* Filter truncates and writes are serialized by
* i_alloc_sem, see the comment in
DQUOT_INIT(inode);
/* Filter truncates and writes are serialized by
* i_alloc_sem, see the comment in
if (ia_valid & ATTR_SIZE)
down_write(&inode->i_alloc_sem);
LOCK_INODE_MUTEX(inode);
if (ia_valid & ATTR_SIZE)
down_write(&inode->i_alloc_sem);
LOCK_INODE_MUTEX(inode);
+ fsfilt_check_slow(exp->exp_obd, now, "i_alloc_sem and i_mutex");
old_size = i_size_read(inode);
}
old_size = i_size_read(inode);
}
*/
if (oa->o_valid &
(OBD_MD_FLMTIME | OBD_MD_FLATIME | OBD_MD_FLCTIME)) {
*/
if (oa->o_valid &
(OBD_MD_FLMTIME | OBD_MD_FLATIME | OBD_MD_FLCTIME)) {
+ unsigned long now = jiffies;
down_write(&dentry->d_inode->i_alloc_sem);
down_write(&dentry->d_inode->i_alloc_sem);
+ fsfilt_check_slow(exp->exp_obd, now, "i_alloc_sem");
fmd = filter_fmd_get(exp, oa->o_id, oa->o_seq);
if (fmd && fmd->fmd_mactime_xid < oti->oti_xid)
fmd->fmd_mactime_xid = oti->oti_xid;
fmd = filter_fmd_get(exp, oa->o_id, oa->o_seq);
if (fmd && fmd->fmd_mactime_xid < oti->oti_xid)
fmd->fmd_mactime_xid = oti->oti_xid;
struct llog_cookie *fcc = NULL;
int rc, rc2, cleanup_phase = 0, sync = 0;
struct iattr iattr;
struct llog_cookie *fcc = NULL;
int rc, rc2, cleanup_phase = 0, sync = 0;
struct iattr iattr;
ENTRY;
rc = filter_auth_capa(exp, NULL, oa->o_seq,
ENTRY;
rc = filter_auth_capa(exp, NULL, oa->o_seq,
* between page lock, i_mutex & starting new journal handle.
* (see bug 20321) -johann
*/
* between page lock, i_mutex & starting new journal handle.
* (see bug 20321) -johann
*/
down_write(&dchild->d_inode->i_alloc_sem);
LOCK_INODE_MUTEX(dchild->d_inode);
down_write(&dchild->d_inode->i_alloc_sem);
LOCK_INODE_MUTEX(dchild->d_inode);
+ fsfilt_check_slow(exp->exp_obd, now, "i_alloc_sem and i_mutex");
/* VBR: version recovery check */
rc = filter_version_get_check(exp, oti, dchild->d_inode);
/* VBR: version recovery check */
rc = filter_version_get_check(exp, oti, dchild->d_inode);
* filter truncates are serialized by i_alloc_sem, allowing
* multiple writes or single truncate. */
down_read(&dentry->d_inode->i_alloc_sem);
* filter truncates are serialized by i_alloc_sem, allowing
* multiple writes or single truncate. */
down_read(&dentry->d_inode->i_alloc_sem);
+ fsfilt_check_slow(obd, now, "i_alloc_sem");
/* Don't update inode timestamps if this write is older than a
* setattr which modifies the timestamps. b=10150 */
/* Don't update inode timestamps if this write is older than a
* setattr which modifies the timestamps. b=10150 */