Here is the list of grant patches that are required with ldiskfs OSD:
ORI-75 cache statfs information in OFD & MDT
ORI-70 fix assert in grant code when handling recoverable resent
ORI-108 Grants in OFD implementation
ORI-226 bad rounding in ofd_grant_space_left() causes upper 32 bits to be lost
ORI-243 Prefix fields of niobuf_local/remote with lnb/rnb
ORI-243 More niobuf_local/remote cleanups
ORI-216 Pass obd_export to statfs operation
ORI-216 Add basic infrastructure for OBD_CONNECT_GRANT_PARAM support
ORI-216 change grant code to operate on network buffers
ORI-407 grant: don't cap space granted during recover
ORI-404 don't enforce grant during OST_WRITE replay
ORI-493 grant: always release pending space
ORI-390 grant: acquire grant space for precreate
ORI-508 grant: release grant when destroying export
ORI-473 grant: sync backend filesystem less aggressively
Those additional ones are needed when using zfs OSD:
ORI-151 implement proper grant support in ZFS OSD
ORI-398 test: tolerate more available space in oos_full
ORI-403 osd-zfs: add OBD_FAIL_OST_MAPBLK_ENOSPC to ZFS OSD
ORI-429 osd-zfs: avoid hitting ENOSPC fail_loc when setting uid
ORI-471 osd-zfs: don't print grant-related message for MDT
Here is the list of grant patches that are required with ldiskfs OSD:
ORI-75 cache statfs information in OFD & MDT
ORI-70 fix assert in grant code when handling recoverable resent
ORI-108 Grants in OFD implementation
ORI-226 bad rounding in ofd_grant_space_left() causes upper 32 bits to be lost
ORI-243 Prefix fields of niobuf_local/remote with lnb/rnb
ORI-243 More niobuf_local/remote cleanups
ORI-216 Pass obd_export to statfs operation
ORI-216 Add basic infrastructure for OBD_CONNECT_GRANT_PARAM support
ORI-216 change grant code to operate on network buffers
ORI-407 grant: don't cap space granted during recover
ORI-404 don't enforce grant during OST_WRITE replay
ORI-493 grant: always release pending space
ORI-390 grant: acquire grant space for precreate
ORI-508 grant: release grant when destroying export
ORI-473grant: sync backend filesystem less aggressivelyThose additional ones are needed when using zfs OSD:
ORI-151 implement proper grant support in ZFS OSD
ORI-398 test: tolerate more available space in oos_full
ORI-403 osd-zfs: add OBD_FAIL_OST_MAPBLK_ENOSPC to ZFS OSD
ORI-429 osd-zfs: avoid hitting ENOSPC fail_loc when setting uid
ORI-471 osd-zfs: don't print grant-related message for MDT