diff options
author | Brian Behlendorf <[email protected]> | 2011-03-09 10:48:49 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-03-09 13:30:03 -0800 |
commit | 17c37660a14cc5e26cc668fdb285933fee4b6cf4 (patch) | |
tree | e043fa31800007fbe9d5c3957ccf1baf10d1c9fa /module/zfs/vdev_raidz.c | |
parent | 450dc149bd5afdddad724a6eff7ff741fa8fdf11 (diff) |
Conserve stack in zfs_setattr()
Move 'bulk' and 'xattr_bulk' from the stack to the heap to minimize
stack space usage. These two arrays consumed 448 bytes on the stack
and have been replaced by two 8 byte points for a total stack space
saving of 432 bytes. The zfs_setattr() path had been previously
observed to overrun the stack in certain circumstances.
Diffstat (limited to 'module/zfs/vdev_raidz.c')
0 files changed, 0 insertions, 0 deletions