Skip to content

return f_fsid for statfs(2)

Coly Li linux-fsdevel lkml reiserfs-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20fs/adfs: return f_fsid for statfs(2)fs/adfs/super.c+10 -60 replies
2/20fs/affs: return f_fsid for statfs(2)fs/affs/super.c+4 -00 replies
3/20fs/befs: return f_fsid for statfs(2)fs/befs/linuxvfs.c+3 -00 replies
4/20fs/cramfs: return f_fsid for statfs(2)fs/cramfs/inode.c+3 -00 replies
5/20fs/efs: return f_fsid for statfs(2)fs/efs/super.c+12 -80 replies
6/20fs/fat: return f_fsid for statfs(2)fs/fat/inode.c+5 -11 reply
7/20fs/hfs: return f_fsid for statfs(2)fs/hfs/super.c+3 -00 replies
8/20fs/hfsplus: return f_fsid for statfs(2)fs/hfsplus/super.c+3 -00 replies
9/20fs/hpfs: return f_fsid for statfs(2)fs/hpfs/super.c+3 -00 replies
10/20fs/isofs: return f_fsid for statfs(2)fs/isofs/inode.c+3 -00 replies
11/20fs/jfs: return f_fsid for statfs(2)fs/jfs/super.c+5 -11 reply
12/20fs/minix: return f_fsid for statfs(2)fs/minix/inode.c+8 -30 replies
13/20fs/omfs: return f_fsid for statfs(2)fs/omfs/inode.c+5 -01 reply
14/20fs/qnx4: return f_fsid for statfs(2)fs/qnx4/inode.c+3 -01 reply
15/20fs/reiserfs: return f_fsid for statfs(2)fs/reiserfs/super.c+6 -10 replies
16/20fs/romfs: return f_fsid for statfs(2)fs/romfs/inode.c+6 -00 replies
17/20fs/squashfs: return f_fsid for statfs(2)fs/squashfs/super.c+3 -00 replies
18/20fs/sysv: return f_fsid for statfs(2)fs/sysv/inode.c+3 -00 replies
19/20fs/udf: return f_fsid for statfs(2)fs/udf/super.c+3 -10 replies
20/20fs/ufs: return f_fsid for statfs(2)fs/ufs/super.c+3 -00 replies

Reviews trailers per patch

4 of 20 patches have a Reviewed-by or Acked-by.

PatchDave KleikampOGAWA HirofumiBob CopelandAnders Larsen
1/20
2/20
3/20
4/20
5/20
6/20A-b
7/20
8/20
9/20
10/20
11/20A-b
12/20
13/20A-b
14/20A-b
15/20
16/20
17/20
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/20] return f_fsid for statfs(2)

Currently many file systems in Linux kernel do not return f_fsid in statfs info, the value is set as 0 in vfs layer. Anyway, in some conditions, f_fsid from statfs(2) is useful, especially being used as (f_fsid, ino) pair to uniquely identify a file.

Basic idea of the patches is generating a unique fs ID by huge_encode_dev(sb->s_bdev->bd_dev) during file system mounting life time (no endian consistent issue). sb is a point of struct super_block of current mounted file system being accessed by statfs(2).

The patches are quite simple, any feedback or patch review is welcome.

Thanks.

Signature · 2 lines
Coly Li
SuSE Labs