[PATCH] Remove SIGSEGV handler
authorJens Axboe <jens.axboe@oracle.com>
Wed, 7 Feb 2007 12:55:38 +0000 (13:55 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Feb 2007 12:55:38 +0000 (13:55 +0100)
We don't catch segfaults anymore, so remove that bit from the signal handler.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c

diff --git a/fio.c b/fio.c
index 127314e3590bd1efd79908eeb5363c5580afef86..355c9d4ee1b6bb0c044e921f68467f739f2ce38e 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -82,11 +82,6 @@ static void sig_handler(int sig)
                        disk_util_timer_arm();
                        print_thread_status();
                        break;
-               case SIGSEGV:
-                       fprintf(stderr, "fio: got segfault, aborting\n");
-                       terminate_threads(TERMINATE_ALL, 1);
-                       fio_abort = 1;
-                       exit(0);
                default:
                        printf("\nfio: terminating on signal %d\n", sig);
                        fflush(stdout);