ZFS channel programs are proposed to address issues with ZFS administrative operations being done transactionally through synctasks. Channel programs would allow sending a stream of instructions to the kernel for atomic execution in syncing context. This would avoid long wait times between transactions and allow more efficient single-pass logic to be implemented in the kernel rather than splitting operations across transactions. Sample programs show how operations like recursive destroy could be implemented through a single channel program calling kernel intrinsics from within the syncing context. The plan is to refactor sync task code and add a Lua interpreter to the kernel to implement ZFS operations as Lua extensions executing the refactored sync tasks.