Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8958

remove code left unused after lloop removal

XMLWordPrintable

    • 3
    • 9223372036854775807

      There is a fair amount of easy cleanup that can be done now that lloop has been removed. The LL_MRF_RETURN macros can be removed. Several autoconf defines/checks are no longer referenced:

      HAVE_QC_MAKE_REQUEST_FN
      HAVE_VOID_MAKE_REQUEST_FN
      HAVE_BIO_ENDIO_USES_ONE_ARG
      HAVE_REQUEST_QUEUE_UNPLUG_FN
      HAVE_BLKDEV_RELEASE_RETURN_INT
      

      ll_iocontrol_register(), ll_iocontrol_unregister(), ll_iocontrol_call(), and the llioc* structures can be removed.

      ll_direct_rw_pages() is not longer used outside of llite and should be merged with ll_direct_IO_seg(). struct ll_dio_pages() can be removed.

      In sanity.sh the LLOOP and LLITELOOPLOAD variables and the function cleanup_68() are unused.

            simmonsja James A Simmons
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: