Commit 2bb3a259 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for_linus' of git://

* 'for_linus' of git://
  dquot: do full inode dirty in allocating space
parents 6142811a d530148a
......@@ -274,8 +274,14 @@ static inline int dquot_alloc_space(struct inode *inode, qsize_t nr)
int ret;
ret = dquot_alloc_space_nodirty(inode, nr);
if (!ret)
if (!ret) {
* Mark inode fully dirty. Since we are allocating blocks, inode
* would become fully dirty soon anyway and it reportedly
* reduces inode_lock contention.
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment