linux/fs/f2fs
Jaegeuk Kim a4db59ac90 f2fs: expose main_blkaddr in sysfs
Expose in /sys/fs/f2fs/<blockdev>/main_blkaddr the block address where the
main area starts. This allows user mode programs to determine:

- That pinned files that are made exclusively of fully allocated 2MB
  segments will never be unpinned by the file system.

- Where the main area starts. This is required by programs that want to
  verify if a file is made exclusively of 2MB f2fs segments, the alignment
  boundary for segments starts at this address. Testing for 2MB alignment
  relative to the start of the device is incorrect, because for some
  filesystems main_blkaddr is not at a 2MB boundary relative to the start
  of the device.

The entry will be used when validating reliable pinning file feature proposed
by "f2fs: support aligned pinned file".

Signed-off-by: Ramon Pantin <pantin@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2019-11-25 10:01:27 -08:00
..
acl.c f2fs: Replace spaces with tab 2019-05-08 21:23:11 -07:00
acl.h f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
checkpoint.c f2fs: show f2fs instance in printk_ratelimited 2019-11-19 14:41:21 -08:00
data.c f2fs: show f2fs instance in printk_ratelimited 2019-11-19 14:41:21 -08:00
debug.c fs: f2fs: Remove unnecessary checks of SM_I(sbi) in update_general_status() 2019-08-23 07:57:12 -07:00
dir.c f2fs: show f2fs instance in printk_ratelimited 2019-11-19 14:41:21 -08:00
extent_cache.c f2fs: introduce f2fs_<level> macros to wrap f2fs_printk() 2019-07-02 15:40:40 -07:00
f2fs.h f2fs: Fix deadlock in f2fs_gc() context during atomic files handling 2019-11-19 14:41:21 -08:00
file.c f2fs: Fix deadlock in f2fs_gc() context during atomic files handling 2019-11-19 14:41:21 -08:00
gc.c f2fs: show f2fs instance in printk_ratelimited 2019-11-19 14:41:21 -08:00
gc.h f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
hash.c f2fs: Support case-insensitive file name lookups 2019-08-23 07:57:13 -07:00
inline.c f2fs: fix to avoid accessing uninitialized field of inode page in is_alive() 2019-09-16 08:38:26 -07:00
inode.c f2fs: show f2fs instance in printk_ratelimited 2019-11-19 14:41:21 -08:00
Kconfig f2fs: Add a small clarification to CONFIG_FS_F2FS_FS_SECURITY 2019-09-16 08:38:48 -07:00
Makefile f2fs: add fs-verity support 2019-08-12 19:33:51 -07:00
namei.c f2fs: fix to update dir's i_pino during cross_rename 2019-11-07 11:15:39 -08:00
node.c f2fs: show f2fs instance in printk_ratelimited 2019-11-19 14:41:21 -08:00
node.h f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
recovery.c f2fs: support aligned pinned file 2019-11-07 10:40:59 -08:00
segment.c f2fs: Fix deadlock in f2fs_gc() context during atomic files handling 2019-11-19 14:41:21 -08:00
segment.h f2fs: support aligned pinned file 2019-11-07 10:40:59 -08:00
shrinker.c f2fs: fix sbi->extent_list corruption issue 2018-12-26 15:16:54 -08:00
super.c f2fs: choose hardlimit when softlimit is larger than hardlimit in f2fs_statfs_project() 2019-11-25 10:01:12 -08:00
sysfs.c f2fs: expose main_blkaddr in sysfs 2019-11-25 10:01:27 -08:00
trace.c f2fs: do not use mutex lock in atomic context 2019-03-05 19:58:06 -08:00
trace.h f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
verity.c f2fs: add fs-verity support 2019-08-12 19:33:51 -07:00
xattr.c f2fs: fix to avoid memory leakage in f2fs_listxattr 2019-10-22 10:32:42 -07:00
xattr.h f2fs: add fs-verity support 2019-08-12 19:33:51 -07:00