On Fri, Dec 13, 2013 at 07:34:43PM +0800, Zhi Yong Wu wrote: > > Uggh. For the small amount of extra space needed for the unlinked > > list reservation, I would simply add it to the tr_link reservation > > and be done with it. That gets rid of the need for the noise here. > > > > > > As per above, fold this into xfs_calc_link_reservation() by adding a: > > > > > > + xfs_calc_iunlink_remove_resv(mp); > This way seems to not work... > In xfs_calc_link_reservation(), How to determine if it is for one > regular file or O_TMPFILE file? since this functions is only passed in > mp? The way I understand Dave above is that you should always reserve the higher amount. _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs