Michael Callahan dbae2c5513 block: Define and use STAT_READ and STAT_WRITE
Add defines for STAT_READ and STAT_WRITE for indexing the partition
stat entries. This clarifies some fs/ code which has hardcoded 1 for
STAT_WRITE and will make it easier to extend the stats with additional
fields.

tj: Refreshed on top of v4.17.

Signed-off-by: Michael Callahan <michaelcallahan@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-07-18 08:44:18 -06:00
..
2016-09-14 16:52:36 -07:00
2018-05-31 11:31:53 -07:00
2018-05-31 11:31:53 -07:00
2018-05-31 11:31:53 -07:00
2018-05-31 11:31:53 -07:00
2018-06-04 14:31:11 -07:00
2018-05-31 11:31:53 -07:00
2018-06-11 10:16:13 -07:00
2018-05-31 11:31:53 -07:00