cifs: add fiemap support

Useful for improved copy performance as well as for
applications which query allocated ranges of sparse
files.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Šī revīzija ir iekļauta:
Ronnie Sahlberg
2019-04-25 16:45:29 +10:00
revīziju iesūtīja Steve French
vecāks d7bef4c4eb
revīzija 2f3ebaba13
8 mainīti faili ar 132 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -493,6 +493,9 @@ struct smb_version_operations {
char *full_path,
umode_t mode,
dev_t device_number);
/* version specific fiemap implementation */
int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *,
struct fiemap_extent_info *, u64, u64);
};
struct smb_version_values {