Frank Hofmann wrote:
would not be a call to posix_fallocate() or ftruncate(), instead an unlink(2) or a zfs destory or zpool destroy. Also on hotsparing in a disk - if the old disk can still be written to in some way we should do our best to bleach it.

Since VOP_*() requires a filesystem (with "/" specifying "all of this fs"), per-zvol or per-vdev "bleaching" needs a different implementation vehicle, that's clear, as you don't have any handle then that you could call it with.

I wouldn't just brush the VOP_*() approach aside. The world isn't pure ZFS there's more to it, whether you wish otherwise or no ...

I agree, but I think these things are complementary and that isn't solving the problem I was trying to solve since it requires someone make explicit calls other than unlink(2) or similar.

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to