Re: [zfs-discuss] [zfs-code] Space allocation failure

2007-08-20 Thread Manoj Joseph
Hi Matt, ZFS-team, Problem --- libzpool.so, when calling pwrite(2), splits the write into two. This is done to simulate partial disk writes. This has the side effect that the writes are not block aligned. Hence when the underlying device is a raw device, the write fails. Note: ztest always ru

Re: [zfs-discuss] [zfs-code] Space allocation failure

2007-07-03 Thread Manoj Joseph
Manoj Joseph wrote: > Manoj Joseph wrote: >> Manoj Joseph wrote: >>> Hi, >>> >>> In brief, what I am trying to do is to use libzpool to access a zpool >>> - like ztest does. >> >> [snip] >> >>> No, AFAIK, the pool is not damaged. But yes, it looks like the device >>> can't be written to by the us