Revision 2e6e1fde32d7d41cf076c21060c329d3fdbce25c authored by Pavel Begunkov on 05 December 2019, 13:15:45 UTC, committed by Jens Axboe on 05 December 2019, 13:54:51 UTC
In case of an error io_submit_sqe() drops a request and continues without it, even if the request was a part of a link. Not only it doesn't cancel links, but also may execute wrong sequence of actions. Stop consuming sqes, and let the user handle errors. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 78076bb
hsi_core.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* HSI framework internal interfaces,
*
* Copyright (C) 2010 Nokia Corporation. All rights reserved.
*
* Contact: Carlos Chinea <carlos.chinea@nokia.com>
*/
#ifndef __LINUX_HSI_CORE_H__
#define __LINUX_HSI_CORE_H__
#include <linux/hsi/hsi.h>
struct hsi_cl_info {
struct list_head list;
struct hsi_board_info info;
};
extern struct list_head hsi_board_list;
#endif /* __LINUX_HSI_CORE_H__ */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...