A write allocation technique extends a conventional write allocation
procedure employed by a write anywhere file system of a storage system. A
write allocator of the file system implements the extended write
allocation technique in response to an event in the file system. The
extended write allocation technique efficiently allocates blocks, and
frees blocks, to and from a virtual volume (vvol) of an aggregate. The
aggregate is a physical volume comprising one or more groups of disks,
such as RAID groups, underlying one or more vvols of the storage system.
The aggregate has its own physical volume block number (pvbn) space and
maintains metadata, such as block allocation structures, within that pvbn
space. Each vvol also has its own virtual volume block number (vvbn)
space and maintains metadata, such as block allocation structures, within
that vvbn space. The inventive technique extends input/output
efficiencies of the conventional write allocation procedure to comport
with an extended file system layout of the storage system.