Replace custom AIL linked-list code with struct list_head
Replace the xfs_ail_entry_t with a struct list_head and clean
the surrounding code up. Also fixes a livelock in
xfs_trans_first_push_ail() by terminating the loop at the
head of the list correctly.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx>
Date: Tue Mar 11 23:29:03 AEDT 2008
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: dgc@xxxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:30636a
fs/xfs/xfs_trans_ail.c - 1.86 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_trans_ail.c.diff?r1=text&tr1=1.86&r2=text&tr2=1.85&f=h
- Replace custom AIL linked-list code with struct list_head.
Fix livelock in xfs_trans_first_push_ail() by terminating search loop
correctly.
fs/xfs/xfs_mount.h - 1.260 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.h.diff?r1=text&tr1=1.260&r2=text&tr2=1.259&f=h
- Replace custom AIL linked-list code with struct list_head
fs/xfs/xfs_trans.h - 1.149 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_trans.h.diff?r1=text&tr1=1.149&r2=text&tr2=1.148&f=h
- Replace custom AIL linked-list code with struct list_head
|