Skip to contentSkip to conversation

TAKE 964469 - XFS Concurrent Multi-File Data Streams

DISCUSSION David Chinner 1 participant 1 message Jul 9, 2007

lore
Share & tools
lore
#0 lore raw

Quota inode has no parent.

Avoid using a special "zero inode" as the parent of the quota inode as this can confuse the filestreams code into thinking the quota inode has a parent. We do not want the quota inode to follow filestreams allocation rules, so pass a NULL as the parent inode and detect this condition when doing stream associations.

Date:  Mon Jul  9 15:20:37 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  [email protected]

The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb

Modid: xfs-linux-melb:xfs-kern:29098a
fs/xfs/xfs_inode.c - 1.466 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.c.diff?r1=text&tr1=1.466&r2=text&tr2=1.465&f=h
- Check for inodes without parents and don't try to associate them or inherit from a non-existent parent inode.

fs/xfs/quota/xfs_qm.c - 1.50 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/quota/xfs_qm.c.diff?r1=text&tr1=1.50&r2=text&tr2=1.49&f=h
- Do not use a special zero inode as the quota inode parent. This avoids incorrect detection of a parent inode when allocating new inodes.