sysfs-class-bdi 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. What: /sys/class/bdi/<bdi>/
  2. Date: January 2008
  3. Contact: Peter Zijlstra <a.p.zijlstra@chello.nl>
  4. Description:
  5. Provide a place in sysfs for the backing_dev_info object.
  6. This allows us to see and set the various BDI specific variables.
  7. The <bdi> identifier can be either of the following:
  8. MAJOR:MINOR
  9. Device number for block devices, or value of st_dev on
  10. non-block filesystems which provide their own BDI, such as NFS
  11. and FUSE.
  12. default
  13. The default backing dev, used for non-block device backed
  14. filesystems which do not provide their own BDI.
  15. Files under /sys/class/bdi/<bdi>/
  16. ---------------------------------
  17. read_ahead_kb (read-write)
  18. Size of the read-ahead window in kilobytes
  19. reclaimable_kb (read-only)
  20. Reclaimable (dirty or unstable) memory destined for writeback
  21. to this device
  22. writeback_kb (read-only)
  23. Memory currently under writeback to this device
  24. dirty_kb (read-only)
  25. Global threshold for reclaimable + writeback memory
  26. bdi_dirty_kb (read-only)
  27. Current threshold on this BDI for reclaimable + writeback
  28. memory
  29. min_ratio (read-write)
  30. Minimal percentage of global dirty threshold allocated to this
  31. bdi. If the value written to this file would make the the sum
  32. of all min_ratio values exceed 100, then EINVAL is returned.
  33. The default is zero