modify function job for reading or writing continiously

Change-Id: Ia41e6ce0f918c423e5e5398f1b6cc4b8d495cb3e