All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH v2 0/5] ocfs2: sysfs and cleanup
@ 2016-05-26  3:10 Goldwyn Rodrigues
  2016-05-26  3:10 ` [Ocfs2-devel] [PATCH 1/5] ocfs2: Provisions for sysfs entries Goldwyn Rodrigues
                   ` (4 more replies)
  0 siblings, 5 replies; 28+ messages in thread
From: Goldwyn Rodrigues @ 2016-05-26  3:10 UTC (permalink / raw)
  To: ocfs2-devel

From: Goldwyn Rodrigues <rgoldwyn@suse.com>

This adds /sys/fs/ocfs2/<s_id> to the sys filesystem. All other
files are added in this directory. This is done by:
1. Adding kobject in the ocfs2_super structure
2. Using ocfs2_sb_attr which encompass all the show() and store() functions

This also reduce code and does away with unnecessary data structure,
but adds some in the ocfs2_super for house keeping.

Hopefully, this would be used to further add configurable parameters
for the super block.

Suggestions/Criticism welcome.

Changes since v1:
	- Corrected store() function check

-- 
Goldwyn

^ permalink raw reply	[flat|nested] 28+ messages in thread
* [Ocfs2-devel] [PATCH 0/5] ocfs2: sysfs and cleanup
@ 2016-05-10 17:52 Goldwyn Rodrigues
  2016-05-10 17:52 ` [Ocfs2-devel] [PATCH 2/5] Use the sysfs interface for creating filecheck files Goldwyn Rodrigues
  0 siblings, 1 reply; 28+ messages in thread
From: Goldwyn Rodrigues @ 2016-05-10 17:52 UTC (permalink / raw)
  To: ocfs2-devel

From: Goldwyn Rodrigues <rgoldwyn@suse.com>

This adds /sys/fs/ocfs2/<s_id> to the sys filesystem. All other
files are added in this directory. This is done by:
1. Adding kobject in the ocfs2_super structure
2. Using ocfs2_sb_attr which encompass all the show() and store() functions

This also reduce code and does away with unnecessary data structure,
but adds some in the ocfs2_super for house keeping.

Hopefully, this would be used to further add configurable parameters
for the super block.

Suggestions/Criticism welcome.

-- 
Goldwyn

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2016-06-06  1:17 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-26  3:10 [Ocfs2-devel] [PATCH v2 0/5] ocfs2: sysfs and cleanup Goldwyn Rodrigues
2016-05-26  3:10 ` [Ocfs2-devel] [PATCH 1/5] ocfs2: Provisions for sysfs entries Goldwyn Rodrigues
2016-05-30  7:53   ` Gang He
     [not found]   ` <574C61E7020000F9000391D6@suse.com>
2016-05-31 12:40     ` Goldwyn Rodrigues
2016-06-01  2:34       ` Gang He
2016-05-26  3:10 ` [Ocfs2-devel] [PATCH 2/5] Use the sysfs interface for creating filecheck files Goldwyn Rodrigues
2016-05-30  9:23   ` Gang He
     [not found]   ` <574C7704020000F900039256@suse.com>
2016-05-31 12:40     ` Goldwyn Rodrigues
2016-06-01  3:16       ` Gang He
2016-06-02  2:26         ` Goldwyn Rodrigues
2016-06-02  3:28           ` Gang He
2016-05-26  3:10 ` [Ocfs2-devel] [PATCH 3/5] Generate uevents for errors Goldwyn Rodrigues
2016-05-30  9:25   ` Gang He
2016-05-26  3:10 ` [Ocfs2-devel] [PATCH 4/5] ocfs2: Disallow duplicate entries in the list Goldwyn Rodrigues
2016-05-30  9:28   ` Gang He
2016-05-26  3:10 ` [Ocfs2-devel] [PATCH 5/5] Fix files when an inode is written in file_fix Goldwyn Rodrigues
2016-05-30  9:45   ` Gang He
     [not found]   ` <574C7C2A020000F900039287@suse.com>
2016-05-31 12:40     ` Goldwyn Rodrigues
2016-06-01  2:05       ` Gang He
2016-06-02  2:26         ` Goldwyn Rodrigues
2016-06-02  3:06           ` Gang He
2016-06-02  3:48             ` Goldwyn Rodrigues
2016-06-02  4:26               ` Gang He
2016-06-02 11:47                 ` Goldwyn Rodrigues
2016-06-03  4:45                   ` Gang He
     [not found]                   ` <57517BDE020000F90003A02C@suse.com>
2016-06-03 15:33                     ` Goldwyn Rodrigues
2016-06-06  1:17                       ` Gang He
  -- strict thread matches above, loose matches on Subject: below --
2016-05-10 17:52 [Ocfs2-devel] [PATCH 0/5] ocfs2: sysfs and cleanup Goldwyn Rodrigues
2016-05-10 17:52 ` [Ocfs2-devel] [PATCH 2/5] Use the sysfs interface for creating filecheck files Goldwyn Rodrigues

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.