Merge pull request #20257 from bluca/seqno

Use new diskseq block device property
This commit is contained in:
Luca Boccassi
2021-08-31 09:06:33 +01:00
committed by GitHub
18 changed files with 140 additions and 18 deletions
+5
View File
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <linux/fs.h>
#include <linux/loop.h>
#ifndef LOOP_CONFIGURE
@@ -13,3 +14,7 @@ struct loop_config {
#define LOOP_CONFIGURE 0x4C0A
#endif
#ifndef BLKGETDISKSEQ
#define BLKGETDISKSEQ _IOR(0x12,128,__u64)
#endif