Skip to contentSkip to conversation

accounting disk quotas in space reservation

DISCUSSION Michael Nishimoto 1 participant 2 messages Mar 27, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

When allocating a space reservation at xfs_trans_reserve time, it doesn't look like xfs takes into account new disk blocks which might get allocated in the quota DBs. There is code to handle the log reservation for disk quotas, but I don't see anything for the space reservation.

Am I missing something?

thanks,

Michael

#1 lore raw

Yes, I was missing something. I just figured out how disk quota objects are reserved/allocated.

Quoted 15 lines · Michael Nishimoto

Hi,

When allocating a space reservation at xfs_trans_reserve time, it doesn't look like xfs takes into account new disk blocks which might get allocated in the quota DBs. There is code to handle the log reservation for disk quotas, but I don't see anything for the space reservation.

Am I missing something?

thanks,

Michael