how to create a core dump after a failed parralle IO write

Hi we have a zlinux server which occasionally has a kernel bug in async IO routines. What kerneltrap would produce a uasable coredump for further analysis. Can it be limited to just this one situation, I don't want a coredump for every async IO