Re: [zfs-discuss] fchmod(2) returns ENOSPC on ZFS

2007-06-14 Thread Matthew Ahrens
Manoj Joseph wrote: Matthew Ahrens wrote: In a COW filesystem such as ZFS, it will sometimes be necessary to return ENOSPC in cases such as chmod(2) which previously did not. This is because there could be a snapshot, so "overwriting" some information actually requires a net increase in space

Re: [zfs-discuss] fchmod(2) returns ENOSPC on ZFS

2007-06-14 Thread Manoj Joseph
Matthew Ahrens wrote: In a COW filesystem such as ZFS, it will sometimes be necessary to return ENOSPC in cases such as chmod(2) which previously did not. This is because there could be a snapshot, so "overwriting" some information actually requires a net increase in space used. That said, w

Re: [zfs-discuss] fchmod(2) returns ENOSPC on ZFS

2007-06-13 Thread Manoj Joseph
Matthew Ahrens wrote: Manoj Joseph wrote: Hi, I find that fchmod(2) on a zfs filesystem can sometimes generate errno = ENOSPC. However this error value is not in the manpage of fchmod(2). Here's where ENOSPC is generated. zfs`dsl_dir_tempreserve_impl zfs`dsl_dir_

Re: [zfs-discuss] fchmod(2) returns ENOSPC on ZFS

2007-06-13 Thread Matthew Ahrens
Manoj Joseph wrote: Hi, I find that fchmod(2) on a zfs filesystem can sometimes generate errno = ENOSPC. However this error value is not in the manpage of fchmod(2). Here's where ENOSPC is generated. zfs`dsl_dir_tempreserve_impl zfs`dsl_dir_tempreserve_space+0x4e

[zfs-discuss] fchmod(2) returns ENOSPC on ZFS

2007-06-13 Thread Manoj Joseph
Hi, I find that fchmod(2) on a zfs filesystem can sometimes generate errno = ENOSPC. However this error value is not in the manpage of fchmod(2). Here's where ENOSPC is generated. zfs`dsl_dir_tempreserve_impl zfs`dsl_dir_tempreserve_space+0x4e zfs`dmu