mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 08:45:26 -05:00
This allows killing processes that wait for a lock when one process is
stuck waiting for the Ceph server. This is similar to the NFS commit
38a125b315 ("fs/nfs/io: make nfs_start_io_*() killable").
[ idryomov: drop comment on include, formatting ]
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
15 lines
463 B
C
15 lines
463 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _FS_CEPH_IO_H
|
|
#define _FS_CEPH_IO_H
|
|
|
|
#include <linux/compiler_attributes.h>
|
|
|
|
int __must_check ceph_start_io_read(struct inode *inode);
|
|
void ceph_end_io_read(struct inode *inode);
|
|
int __must_check ceph_start_io_write(struct inode *inode);
|
|
void ceph_end_io_write(struct inode *inode);
|
|
int __must_check ceph_start_io_direct(struct inode *inode);
|
|
void ceph_end_io_direct(struct inode *inode);
|
|
|
|
#endif /* FS_CEPH_IO_H */
|