> > + ctx = iostat_get_bio_private(bio); > > This ctx is not used for iostat.
Considering that the next patch needs to store the discard_cmd pointer in bio_iostat_ctx, there is no need to add a new variable. We just need to rename post_read_ctx to data. Change bio_iostat_ctx->post_read_ctx to bio_iostat_ctx->data? Following the above logic, should get_post_read_ctx be changed to iostat_get_bio_data? Since the function is located in the iostat file, we added the iostat prefix. Thx, Yangtao _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
